Which of the statements below is false?
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;
}
}
```
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. A reference of type A can be treated as a reference of type B.
You might also like to view...
What software tools could you use to develop, publish, and distribute Zevo’s systems documentation?
What will be an ideal response?
Investigate some other operating systems such as Mac OS X and Windows XP. How do they compare to Linux?
What will be an ideal response?
The Type on a Path tool can be used on objects such as ____.
A. circles B. bitmaps C. gradients D. blends
Assuming $car is a variable that has the value "Mustang", what is the result of the statement:
``` if(isset($car) ``` a. true b. false c. Mustange d. none of these