abstract keyword

Class methods can be modified

Modified abstract class: abstract class

  This class can not be instantiated  

  Abstract class constructor must be invoked when the subclass is instantiated to facilitate

Modification methods:

  Abstract method

  No method body

 

abstract methods can not be used for private, static methods, final modification methods, final classes

  

Guess you like

Origin www.cnblogs.com/ergePython/p/11877035.html