📜  抽象类与非抽象类 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:13.578000             🧑  作者: Mango

代码示例1
non-abstract class:
cannot: abstract methods
can: constructor, instance method, static method, instance block,s
tatic block, instance variable, static variable
abstract class:
can: constructor, instance method, static method, 
instance block, static block, instance variable, static variable...
abstract method: method without implementation, 
meant to be override (cannot create object, cannot be final,static,private)