Which of the following statements is false?

a. An advantage of inheritance over interfaces is that only inheritance provides the is-a relationship.
b. Objects of any subclass of a class that implements an interface can also be thought of as objects of that interface type.
c. When a method parameter is declared with a subclass or interface type, the method processes the object passed as an
argument polymorphically.
d. All objects have the methods of class Object.


a. An advantage of inheritance over interfaces is that only inheritance provides the is-a relationship.

Computer Science & Information Technology

You might also like to view...

To draw a circle, use the ___ method.

A. drawCircle() B. drawArc() C. circle() D. arc()

Computer Science & Information Technology

Suppose we have an array of String objects identified by the variable names. Which of the following for loops will not correctly process each element in the array.

a) for(int i = 0; i < names.length; i++) b) for(String name : names) c) for(int i = 0; i < names.length(); i++) d) none of these will correctly process each element e) all of these will correctly process each element

Computer Science & Information Technology

Which of the following is the command to view the mac address table?

What will be an ideal response?

Computer Science & Information Technology

The Stored Communications Act was a subset of which piece of legisation?

a. The Privacy Act b. Sarbanes Oxley c. The Electronic Communications Privacy Act d. None. This covers health information.

Computer Science & Information Technology