What is the output of following.
public static void main(String[] args) {
String s1="prasad";
String s2="Ram";
s1.concat(s2);
System.out.println("c="+s1);
}
Reveal answer
Fill a bubble to check yourself
What is the output of following.
public static void main(String[] args) {
String s1="prasad";
String s2="Ram";
s1.concat(s2);
System.out.println("c="+s1);
}