My Java Quiz
The ultimate place to learn Java!
List of questions
Which of the following is a valid way to create a String object?
String a = "john doe";
String a = new String("john doe");
String a = b; //while b is variable belonging to class String
All of the above