How can i compare a String with a variable name in java ?
812390Jan 21 2011 — edited Feb 18 2011Hi friends,
i want to compare a string with another variable name.
example :
String time ="1200" ;
String time1200 =" twelve clock";
now i want to compare the 1200 with time1200 .
one is string and other is variable name. any relative examples.plz