Home Help Java C Java Coding Standards
Questions:Ask|Latest

 
 

Share on Google+Share on Google+

Java Coding Standards

Advertisement
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.
Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 6, 2010

Related Tutorials

Ask Questions?    Discuss: Java Coding Standards  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
naveed
July 2, 2011
coding on java and dotnet

i need srs document on hetero pharmacy. and hw to write code on java and dotNet?can u show me the default presentation on desiging which forms after designing
DMCA.com