class compare
{
public static void main(String[] args)
{
String s1,s2;
s1="abc";
s2="def";
if(s1.equals(s2))
{
System.out.println("Same");
}
else
{
System.out.println("Different");
}
}
}
Weblog From a Girl for All People and Telling About All Infomation
No comments:
Post a Comment