单项选择题
Which will declare a method that is available to all members of the same package and be referenced without an instance of the class?()
A. abstract public void methoda ();
B. public abstract double inethoda ();
C. static void methoda (double dl) {}
D. public native double methoda () {}
E. protected void methoda (double dl) {}
点击查看答案
相关考题
-
多项选择题
Whichthe threearevaliddeclarationsofafloat?()
A. float foo = -1;
B. float foo = 1.0;
C. float foo = 42el:
D. float foo = 2.02f:
E. float foo = 3.03d: -
多项选择题
Whichthe twodemonstrateencapsulationofdata?()
A. Member data have no access modifiers.
B. Member data can be modified directly.
C. The access modifier for methods is protected.
D. The access modifier to member data is private.
E. Methods provide for access and modification of data. -
单项选择题
What OrderSErvlet method is invoked as a result of this from submission?()
A. doGET
B. doPUT
C. doPost
D. doTrace
E. doSubmit
