Coding and Submitting Work
E. Coding Rules
-
Non-private instance variables defeat the point of classes (unless the
variables are final).
-
Variables that are only needed locally should not be declared as instance
variables.
- Use class variables instead of instance variables when appropriate.
-
Graphical I/O should not be mixed with console I/O in the same program.
- Methods do not have required signature.
- Wrong data types used.
- Constructors must never read input or write output.
- Unused variables must be removed from the code.
- Local variables must not shadow instance variables.
F. Submission Errors
- NetBeans project folder not submitted.
- Project named incorrectly.
- Classes and/or methods named incorrectly.
- Extraneous code or files submitted.
G. No Credit
- Submitted after the due date.
- Code does not compile.
- Plagiarism (failing grade for the course and report to BU Director of
Student Standards).