单项选择题

Given:
10.interface Data { public void load(); }
11.abstract class Info { public abstract void load(); } 
Which class correctly uses the Data interface and Info class?()

A.
B.
C.
D.

<上一题 目录 下一题>
热门 试题

单项选择题
Click the Exhibit button. What is the result?()

A.Compilation of class A fails.
B.Line 28 prints the value 3 to System.out.
C.Line 28 prints the value 1 to System.out.
D.A runtime error occurs when line 25 executes.
E.Compilation fails because of an error on line 28.

单项选择题
Given: Which statement is true about the class of an object that can reference the variable base?()

A.It can be any class.
B.No class has access to base.
C.The class must belong to the geometry package.
D.The class must be a subclass of the class Hypotenuse.

相关试题
  • Given: Which code, inserted at li...
  • Click the Exhibit button. What is...
  • Given: Which code fragment, insert...
  • Given: What is the result?()
  • Given: What is the result?()