Home / Programming MCQs / JAVA MCQs / Question
V
Q. What will be the output of the following program?
public class Test2 { public static void main(String[] args) { StringBuffer s1 = new StringBuffer("Complete"); s1.setCharAt(1,'i'); s1.setCharAt(7,'d'); System.out.println(s1); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following method can be used to change the size of a JAVA.awt.Component object?
TreeSet maintains which order?
Single characters are represented through ______ type.
What does setAutoCommit(false) do?
Can you make an array volatile?
What was the reason for huge initial success of Java?
Which of those is synchronized?
Discusssion
Login to discuss.