Java - Strings and String Handling
Identify the error in the following code snippet:
StringBuffer sb = new StringBuffer("Test");
sb.insert(5, "ing");
System.out.println(sb);Identify the error in the following code snippet:
StringBuffer sb = new StringBuffer("Test");
sb.insert(5, "ing");
System.out.println(sb);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions