Q. What is the output of the following application?
Code:
String john = "john"; String jon = new String(john); System.out.println((john==jon) + " "+ (john.equals(jon)));
β
Correct Answer: (C)
false true