Home Help Java C Java Coding Standards



Java Coding Standards
Posted on: October 6, 2010 at 12:00 AM
Coding conventions are the rules that a programmer should govern while develop a program so that their source code can be read and maintain easily.

Java Coding Standards

     

Coding conventions are the rules that a programmer should govern while develop a program so that their source code can be read and maintain easily. Coding conventions can only be applied to human maintainers and peer reviewers of a software project. Conventions set of rules are kept in a document so that an entire team or company can follow. Coding conventions does not impact on the programs created from the source during execution.

Coding conventions

  • Naming conventions
    • Classes names should be nouns and should start with a uppercase letter.
    • Methods names should start with and should start with a lowercase letter.
    • All the constants used in the program should be in UPPERCASE
  • Each class should be saved in a separate file
  • A comment block should be delimit by an extra character early in the beginning of externally published or processed documentation.

Related Tags for Java Coding Standards:


More Tutorials from this section

Ask Questions?    Discuss: Java Coding Standards  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.