dimanche 29 mai 2016

Is 1st character in String, equals to last one in same String

I need Java solution. I want to do it with if, or for loop.

Code needs to check does some String "Ababa" have 1.st and last character same. a==a;b==b etc.

Aucun commentaire:

Enregistrer un commentaire