dimanche 19 avril 2015

comparison of strings and writing back in java

If two strings are same then the string should be written back into another string how can I do it in java?? Like,



if(s1.equals(s2)==0)
{
s1;
}

Aucun commentaire:

Enregistrer un commentaire