shahanaus
love to live happy
Thursday, October 27, 2011
Java: Compare
class compare
{//this coment line
public static void main(String[] args)
{
String s = "Shahana";
String s1 = "shahana";
int ss = s.compareTo(s1);
System.out.println(ss);
}//end of main
}// end of class compare
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment