Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

For which cases or tokens java is not case sensitive ?

843789Apr 13 2009 — edited Apr 14 2009
Java is case sensitive for its tokens like method names,variables,string values etc.But it is not case sensitive when defining literals explicitly like 2.0d and 2.0D,3.6f and 3.6F.Also hex and octal literals like OXA or oxA,aBC or ABC mean one and the same.

So are these the only cases or there is something i missed ?

Thanks for your consideration.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2009
Added on Apr 13 2009
7 comments
923 views