早教吧 育儿知识 作业答案 考试题库 百科 知识分享

java基础题,关于接口中的常量44、Given:1.publicinterfaceFoo{2.intk=4;3.}Whichthreeareequivalenttoline2?(ChooseThree)A.finalintk=4;B.Publicintk=4;C.staticintk=4;D.Privateintk=4;E.Abstractintk=4;F.V

题目详情
java基础题,关于接口中的常量
44、 Given:
1. public interface Foo{
2.int k = 4;
3. }
Which three are equivalent to line 2? (Choose Three)
A. final int k = 4;
B. Public int k = 4;
C. static int k = 4;
D. Private int k = 4;
E. Abstract int k = 4;
F. Volatile int k = 4;
G. Transient int k = 4;
H. protected int k = 4;
▼优质解答
答案和解析
B D H 答案