i got a problem wana display my String but it doesnt work
here is my code i dont understand why it doesnt print me anything.....
class StringDemo
{
public static void main(String[] args)
{
String s1,s2,s3,output;
s1=new String("hello");
s2=new String("hello guys");
s3=new String("happy birthday");
output="s1 = " +s1+ "\ns2 = " +s2+ "\ns3" +s3+;
}
}
help me not getting s1,s2,s3