Java Programming Language MCQ String in Java
⚠ Report ✓ Question Verified Copy Link
public class Test{ public static void main(String args[]){ String s = "what"; StringBuffer sb = new StringBuffer("what"); System.out.print(sb.equals(s)+","+s.equals(sb)); } }
Learn More MCQ Questions from Java Programming Language MCQ String in Java