Coggle requires JavaScript to display documents.
interface
private
public
extends
implements
abstract class
protected
super
super(...)
super.someMethodOrAttribute
static
cannot override static methods
Object
@Override public boolean equals(Object obj) { if(this == obj) return true; else if(obj instanceof desiredClass) return this.desiredProperty == ((desiredClass) obj).desiredProperty; else return false; }
Animal a = new Cat(); a.staticMethod() invokes that defined in Animal, while (Cat) a.staticMethod() invokes that defined in Cat.
If yes, go to 2, else go to 4.
If yes, go to 3, else go to 4