What will s2 contain after following lines of code?
StringBuffer s1 = "one;
StringBuffer s2 = s1.append("two)
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option C
Explanation :
Two strings can be concatenated by using append() method.
Be The First To Comment