Home > Back-end >  The Java interface implementation class
The Java interface implementation class

Time:05-11

in Java, a class implements an interface that needs to be rewritten all methods of that interface?

Want to see whether the implementation class is the abstract class,
If the implementation class is an abstract class, interface is not necessarily to rewrite all the methods, because in an abstract class can have the abstract method!
If the implementation class is the abstract class, it must be rewritten the all methods of the interface ( note: is that all methods, common methods and abstract methods are required to rewrite!!! )
  • Related