单项选择题
Given classes defined in two different files
:
What is required at line 5 in class SomeApp to use the process method of BitUtils?()
A.process(bytes);
B.BitUtils.process(bytes);
C.app.BitUtils.process(bytes);
D.Util.BitUtils.process(bytes);
E.Importutil.BitUtils.*;process(bytes);
F.Some App can not use the process method in BitUtils.
相关考题
-
单项选择题
Click the Exhibit button. Given the fully-qualified class names: com.foo.bar.Dog com.foo.bar.blatz.Book com.bar.Car com.bar.blatz.Sun Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JVM?()
A.Jar A
B.Jar B
C.Jar C
D.Jar D
E.Jar E -
单项选择题
Given: When line 15 is reached, how many objects are eligible for the garbage collector?()
A.0
B.1
C.2
D.3
E.4
F.5 -
单项选择题
Given a class Repetition: Which code should be inserted at line 1 of Demo.java to compile and run Demo to print "pizzapizza"?()
A.import utils.*;
B.static import utils.*;
C.import utils.Repetition.*;
D.static import utils.Repetition.*;
E.import utils.Repetition.twice();
F.import static utils.Repetition.twice;
G.static import utils.Repetition.twice;
