Consider the classes below, declared in the same file:

```
class A {
int a;
public A() {
a = 7;
}
}

class B extends A {
int b;
public B() {
b = 8;
}
}
```
Which of the statements below is false?
a. Both variables a and b are instance variables.
b. After the constructor for class B executes, the variable a will have the value 7.
c. After the constructor for class B executes, the variable b will have the value 8.
d. A reference of type A can be treated as a reference of type B.

D

Computer Science & Information Technology

You might also like to view...

(___) ___-____ is an example of a(n) ________

A) lookup field B) data validation rule C) input mask D) default value

Computer Science & Information Technology

The Project Designer provides a central location for managing project ____.

A. properties B. settings C. resources D. all of the above

Computer Science & Information Technology