Interface inheritance Object classes?

Inheritance will constitute a strong turn, (non-basic types of cases)

Class extends Object imp interface
First class Object strong turn
and then turn the interface of another strong class, can point out the object method, the answer is yes!

Java Interface Interface is not inherited from Object?

If an interface definition is the top, then this interface will automatically declare an abstract member method structure to represent all public methods from the Object class

Pulls kinds of argument - meaning when the interface is implicitly defined a set of methods and Object class signature in the exact same way, so we have those same signature in the Object call interface in the program, the compiler does not I will complain!

Guess you like

Origin www.cnblogs.com/hellsino/p/11915466.html