/* Program to concatenates three strings */
class StringDemo3
{
public static void main(String args[ ])
{
String name = "Indira";
String str="Her name is "+name+" Gandhi.";
System.out.println(str);
}
}
class StringDemo3
{
public static void main(String args[ ])
{
String name = "Indira";
String str="Her name is "+name+" Gandhi.";
System.out.println(str);
}
}
0 comments:
Post a Comment