Inheritance means that a class can extend another class
If a data field is declared in the superclass, you may hide it by redeclaring it in the subclass.
Polymorphism means that a variable of supertype can refer to a subtype object
In OOP, a reference variable can reference a subtype object. This is called polymorphism
You can't always successfully cast a superclass to a subclass.
Given two reference variables t1 and t2, if t1.equals(t2) is true, t1 == t2 may be true or false
Every class has a toString() method and an equals() methoD.
Invoking x.clear()returns the number of the elements in an ArrayList x.
Invoking x.get(0) returns the first element in an ArrayList x.
You can create an ArrayList using new ArrayList()
The size of an ArrayList can grow and shrink at runtime.
If a method is declared private in the superclass, you may declare the method protected in the subclass.
If a method is declared protected in the superclass, you may declare the method private in the subclass.
A final class can have instances.
A protected method can't be accessed by a subclass in a different package.



