Naming Conventions in Java »



1) Package name in java are written in all small (lower) case letters
Ex: java.awt.
    java.io.
    java.swing.
2) Each word of classnames and interface names start with a capital.
Ex. String, DataInputStream, ActionListener.
3)Method names starts with a small letter if there is only the method name itself other wise leaving first each word the method start with a capital
Ex: println();
   readLine();
   getNumberInstance();
4) [...]