Which of the following could be used to declare abstract method method1 in abstract class Class1 (method1 returns an int and takes no arguments)? ( )
A、publicintmethod1();
B、publicintabstractmethod1();
C、publicabstractintmethod1();
D、publicintnonfinalmethod1();
发布时间:2026-02-17 17:46:10