Question
What will s2 contain after following lines of code?
StringBuffer s1 = "one;
StringBuffer s2 = s1.append("two)
Answer: Option C
Was this answer helpful ?
Two strings can be concatenated by using append() method.
Was this answer helpful ?
Submit Solution