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
Computer Science & Information Technology
You might also like to view...
In the line of code Dim scores() As Integer = {55, 33, 12} the upper bound of the array scores is which of the following?
(A) 2 (B) 1 (C) 11 (D) 0
Computer Science & Information Technology
Which operator can be used in string concatenation?
a. * b. += c. ++ d. =+
Computer Science & Information Technology