Multiple Choice
Example Code Ch 09-4
Given the following partial class definition:
public class A1
{
public int x;
private int y;
protected int z;
...
}
public class A2 extends A1
{
protected int a;
private int b;
...
}
public class A3 extends A2
{
private int q;
...
}
-Refer to Example Code Ch 09-4: Which of the following lists of instance data are accessible in class A3?
A) x, y, z, a, b, q
B) a, b, q
C) a, q
D) x, z, a, q
E) x, a, q
Correct Answer:

Verified
Correct Answer:
Verified
Q39: Consider a class Plane and three subclasses,
Q40: Two children of the same parent class
Q41: Inheritance through an extended (derived) class supports
Q42: Example Code Ch 09-5<br>Consider the following class
Q43: Example Code Ch 09-2<br>Assume that Poodle is
Q44: Example Code Ch 09-3<br>Consider the class Car
Q45: The relationship between a parent class and
Q46: Example Code Ch 09-5<br>Consider the following class
Q47: Interface classes cannot be extended but classes
Q48: Which of the following is correct?<br>A) a