Back to ICS211

Mobius strip

Java Coding Standards

ICS's Java Coding Standards
For this course, you should follow the guidelines given in this brief document, which is a subset of Java's offical code conventions.

Exceptions/Clarifcatons/Additions:
  • You do not need to provided version control comments.
  • You may put either one or two blank lines between method definitions.
  • You may indent either 2, 4, or 8 spaces; you may use either tabs or spaces. Whatever you choose, you must be consistent!
  • Lines should not exceed 80 characters in length.
Code Conventions for the Java Programming Language
These are Java's official code conventions. They are more extensive than those standards given above. You are strongly encouraged to read this document and format your code accordingly.
More on Documenting With JavaDoc
Briefly, what to write and how to turn your comments in to API-like HTML.


~ztomasze Index : TA Details: ICS211: Coding Standards
http://www2.hawaii.edu/~ztomasze
Last Edited: 21 Sep 2006
©2004 by Z. Tomaszewski.