Java Programming Language MCQ String in Java
⚠ Report ✓ Question Verified Copy Link
public class Test{ public static void main(String args[]){ String s1 = "java"; String s2 = "java"; System.out.println(s1.equals(s2)); System.out.println(s1 == s2); } }
Learn More MCQ Questions from Java Programming Language MCQ String in Java