Java Programming Language MCQ String in Java
⚠ Report ✓ Question Verified Copy Link
class LogicalCompare{ public static void main(String args[]){ String str1 = new String("OKAY"); String str2 = new String(str1); System.out.println(str1 == str2); } }
Learn More MCQ Questions from Java Programming Language MCQ String in Java