x = (boolean expression) ? value to assign if true : value to assign if false
What about a subclass that tries to inherit a private member of its superclass?
When a member is declared private, a subclass can't inherit it. For the exam, you
need to recognize that a subclass can't see, use, or even think about the private
members of its superclass. You can, however, declare a matching method in the
subclass. But regardless of how it looks, it is not an overriding method!
public void removeMyListener(MyListener m) //correct
public void addXListener(MyListener m) // listener type mismatch
JavaBeans methods must be named using camelCase, and depending on the
method's purpose, must start with set, get, is, add, or remove.
A, C, and E are incorrect because 'add', 'delete' and 'put' are not standard JavaBeans
name prefixes. (Objective 1.4)