Understanding Java Naming Conventions

If you’re learning to speak a new language, it’s important to understand the various rules and syntax. The same is true when learning a programming language, such as Java. As Cameron McKenzie explains, the rules for Java variable naming are fairly lax, but the first letter of a variable must be either a letter, dollar sign, or an underscore.

However, Java naming conventions for variables, methods, and reference types are more complicated. In this article, McKenzie outlines those conventions to help you get started.

Read more at The Server Side.

Comments