Announcements‎ > ‎

Coding standards for assignments

posted Oct 20, 2011, 7:30 PM by Sukhjit Singh   [ updated Oct 20, 2011, 7:57 PM ]
Coding standards
>>Indent your code.
>>ordering your code
    instance variables, static variables
    instance methods, static methods.
>>put a main in each class - test it.
>>put one class per file. (unless you are using inner classes.
>>make all variables private
>>write public getter/setters
>>use protected as needed per requirement.
>>Package your code.
Comments