Home / MCQ Bank / Computer
Computer Strings Difficulty: Medium

What will s2 contain after following lines of Java code? StringBuffer s1 = "one"; StringBuffer s2 = s1.append("two")

Select the correct option to test your answer:

More Computer Questions

Which of the following are valid floating point literal? What is the result of the expression `7 || 0` in C? Which nodes are the siblings of Node D of given ternary tree? Consider the following code snippet function f () {} ; The above prototype represents a What is the purpose of the Semaphore class in C# multithreading?