|
-
September 21st, 2012, 02:43 AM
#6
Re: Really Stupid Question..
That won't even compile so how can you say it didn't seem to do anything?
Also you don't need both expressions if you are using equalsIgnoreCase - it doesn't matter what case you use ie "cRAcK" would be treated the same as "crack" or "CRACK" etc.
When calling an object's method you need to use '.' not a space and if you are passing a parameter to the method it needs to be inside the brackets.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|