Should an abstract class have at least one abstract method?

前端 未结 5 2103
眼角桃花
眼角桃花 2021-02-02 12:17

Is it necessary for an abstract class to have at least one abstract method?

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-02 12:39

    If a class has an abstract modifier on its declaration it becomes abstract class.

提交回复
热议问题