1/11
Looks like no tags are added yet.
All classes inherit directly/indirectly from?
Object
What methods are defined in object?
toString() and equals()
Whats the use case of toString()
use it to produce a printable presentation of an object
Subclass Types
A subclass has its own type and is also of the type(s) of its superclass(es).
Liskow Sub Principle


Interface, if you need objects form this interface you need to override all abstract methods
What is a package?
Collection of classes
What does public mean?
Its visible in all classes
What does protected mean?
Visible in subclasses and classes of the same package ( same folder )
What does <none> mean?
Visible in classes of the same package
What does private mean?
Visible only in that class
What does static mean?
That thing* belongs not to an object but to the class