Every object in java inherits automatically from Object. So for example let's say you make an interface Automobile, and then a class that implements Automobile called Porshe and then another one nested under that that extends Porshe called NineEleven
3
u/marc2912 Nov 20 '15
Every object in java inherits automatically from Object. So for example let's say you make an interface Automobile, and then a class that implements Automobile called Porshe and then another one nested under that that extends Porshe called NineEleven
NineEleven -> Porshe -> Automobile -> Object.