Copyright Derek O'Reilly, Dundalk Institute of Technology (DkIT), Dundalk, Co. Louth, Ireland.
As with any projects that you will do in industry, you are expected to follow a specific set of programming rules for any work that you do in relation to this module. You must use the conventions that are laid out in "The Elements of Java Style", with the amendments listed below:
The following amendments apply:
So as to make each example a stand-alone compilable file, I have embedded the example's various classes as inner classes of the containing applet. When using this code in real projects, you should use packages and seperate the various classes into their own class files.
As the various classes in my examples are inner classes, they can not support either enums or static fields. In real projects, where it is appropriate you should adjust the example code to include enums and static fields.
In order to keep the code brief, I have not dealt with exception handling. In a real project, you must always properly deal with exception handling.
Copyright Derek O' Reilly, Dundalk Institute of Technology (DkIT), Dundalk, Co. Louth, Ireland.