Question: The following program displays public class Test { public static void main(String[] args) { String s = Java: StringBuilder buffer = new StringBuilder (8) ;)
The following program displays public class Test { public static void main(String[] args) { String s = "Java": StringBuilder buffer = new StringBuilder (8) ;) 3 change (buffer); System.out.println(buffer) : private static void change (StringBuilder buffer) { buffer.append(" and HTML"); } } O Java and HTML Java and HTML Nothing is displayed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
