| Topic |
Notes |
| |
|
| Signature |
- The method name and method's parameter data types make up the signature.
- The return data type does not make up the method's signature.
- The name of the Data Type does not make up the signature
|
| Overloading |
- The return data type may be different.
|
| Overriding |
- The return data type must be identical to the parents.
|
| super object reference |
- You can call the parents (superclass) method by invoking super.methodname(). If
the parent does not have the method you will be calling the first method found in the
hierarchy.
- You cannot directly make a call past the first superclass' method.
Illegal: super.super.methodname().
|
| super() constructor |
|
| this() constructor |
|
| |
|