Java

  1. Home
  2. Computing & Technology
  3. Java
photo of Paul Leahy

Paul's Java Blog

By Paul Leahy, About.com Guide to Java

Case Sensitivity in Java

Tuesday September 16, 2008

Last week's programming question highlighted the case sensitivity of Java. If you're not used to a language that worries about the case of identifier names it can lead to some serious head scratching. I'd hate to add up all the times one of my programs hasn't compiled because I've made a mistake with the case of a variable name.

There are a few tips you can follow to avoid the most common case sensitive errors. Of course, the more you program in Java the more the case sensitivity will become second nature.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore Java

About.com Special Features

Java

  1. Home
  2. Computing & Technology
  3. Java

©2009 About.com, a part of The New York Times Company.

All rights reserved.