View Single Post
Old 06-13-2012, 04:02 PM   PM User | #5
michaelh73
New Coder

 
Join Date: Jun 2012
Posts: 15
Thanks: 0
Thanked 3 Times in 3 Posts
michaelh73 is an unknown quantity at this point
So basically just to give you an example of what they mean I'll give you an example from your own code. For your first if statement..

Quote:
Originally Posted by T3hkid View Post



if(Answer=="Y" ||Answer=="y"){...
}

but it should really be

Quote:
Originally Posted by T3hkid View Post



if(Answer.equalsIgnoreCase("Y")){
...
}

michaelh73 is offline   Reply With Quote
Users who have thanked michaelh73 for this post:
T3hkid (06-13-2012)