What will s2 contain after following lines of code?String s1 = "one";String s2 = s1.concat("two")
Two strings can be concatenated by using concat() method.
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: