Solved

Example Code Ch 09-4

Question 5

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 A2?


A) x, y, z, a, b
B) x, y, z, a
C) x, z, a, b
D) z, a, b
E) a, b

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions