Java Variable Naming Convention

  1. The first letter of a class name should be capitalized.
  2. The first (or only) word in a method name should be a verb.
  3. By convention, method names should be a verb in lowercase or a multi-word name that begins with a verb in lowercase, followed by adjectives, nouns, etc. In multi-word names, the first letter of each of the second and following words should bezed. Eg: getFinalData

  4. Click HERE for more..




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.