The method works if you provide an array. The output of String helloWorld = {"Hello", "World"}; System.out.println(helloWorld); System.out.println(Arrays.toString(helloWorld)); is [Ljava.lang.String;@45a877...
  • April 6, 2022
  • 0 Comments