Mark the method with the keyword public.
Mark the method with the keyword protected.
Mark the method with the keyword private.
Mark the method with the keyword package.
Do not mark the method with any accessibility modifiers.
第1题:
A、It’s sure that
B、Make sure that
C、Certain that
D、I certain that
第2题:
You develop a serializable class for persisting objects as files.Every time an object is serialized, you have to update the database with the name of the object and location of that file.You elect to employ the OnSerialized attribute to achieve this objective.You now need to apply the OnSerialized attribute to a certain method.What should you do?()
A.
B.
C.
D.
第3题:
A.certain; certainly
B.certain; sure
C.sure; certainly
D.certainly; surely
第4题:
第5题:
A.4
B.5
C.8
D.9
E.Compilation fails.
F.An exception is thrown at runtime.
G.It is impossible to determine for certain.
第6题:
A、is certain of
B、certain
C、certain of
D、he is certain of
第7题:
A.Line 33 must be called within a try block.
B.The exception thrown by method1 in class A is not required to be caught.
C.The method declared on line 31 must be declared to throw a RuntimeException.
D.On line 5 of class A, the call to method2 of class B does not need to be placed in a try/catch block.
第8题:
A. is certain of
B. certain
C. certain of
D. he is certain of
第9题:
An oil tanker,except as provided for otherwise,might discharge certain amount at certain rate of oil or oily mixtures into sea when ______.
A.she is not within a special area
B.she is within a special area
C.she has just departured from a special area
D.she is about to enter a special area
第10题: