判断下列类 MyClass 的定义中哪些是合法的抽象类?
选项:
A:abstract class MyClass{ public abstract int getCount(); }
B:abstract class MyClass { abstract int getCount(); }
C:private abstract class MyClass{ abstract int getCount(); }
D: sealed abstract class MyClass { abstract int getCount(); }
发布时间:2024-06-04 14:08:59