














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















23
An operation should be declared to exist at the highest class in the hierarchy where it makes sense
24
A method would be inherited, but a subclass contains a new version instead
26
Occurs when decision about which method to run can only be made at run time
27
The following are necessary for a system or language to be OO
29
History
30
Looking up classes and methods is an essential skill
Java documentation can be automatically generated by a program called Javadoc
32
Character is a class representing Unicode characters
char is a primitive data type containing a Unicode character
String is a class containing collections of characters
33
Arrays are of fixed size and lack methods to manipulate them
ArrayList is the most widely used class to hold a collection of other objects
Iterators are used to access members of Vectors
35
Anything that can go wrong should result in the raising of an Exception
36
Like abstract classes, but cannot have executable statements
38
Applies to methods and variables
39
Thread:
41
Comment extensively
Organize class elements consistently
Be consistent regarding layout of code
42
Avoid duplication of code