✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What will be printed?
public class Test {
public static void main(String[] args) {
String s1 = "Java";
String s2 = new String("Java");
System.out.println(s1 == s2);
System.out.println(s1.equals(s2));
}
}