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;
which three are true?
answers: BDE.I don't understand..who can tell me answer? i am a new learner.
if you choose d ,why can't choose h?
转载于:https://blog.51cto.com/6049752/1072257