Q. Consider the following code snippet.
What is printed?
Code:
What is printed?
String river = new String(“Columbia”); System.out.println(river.length());
β
Correct Answer: (C)
8
String river = new String(“Columbia”); System.out.println(river.length());
You must be Logged in to update hint/solution