Given the following code:

```
class C1 {}
class C2 extends C1 { }
class C3 extends C2 { }
class C4 extends C1 {}

C1 c1 = new C1();
C2 c2 = new C2();
C3 c3 = new C3();
C4 c4 = new C4();
```
Which of the following expressions evaluates to false?
a. c1 instanceof C1
b. c2 instanceof C1
c. c3 instanceof C1
d. c4 instanceof C2


d. c4 instanceof C2

Computer Science & Information Technology

You might also like to view...

What is a class?

A. a set of characteristics and behaviors that define an object. B. a job description. C. A and B. D. none of the above.

Computer Science & Information Technology

Defining more than one ____________________ constructor for a class is a common programming error.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A user cannot delete a record from a database table using the BindingNavigator control.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

By default, the History panel displays the previous ____ states.?

A. ?10 B. ?20 C. ?50 D. ?100

Computer Science & Information Technology