国家开放大学 / 移动开发技术导论
下面哪一行代码正确的声明了一个类方法(静态方法)? ( )
a. protected static void method(Integer i)
b. public int method(int i)
c. protected method(int i)
d. public static method(String s)
a. protected static void method(Integer i)
b. public int method(int i)
c. protected method(int i)
d. public static method(String s)
参考答案:
佳题速递: