For the questions below, use the following partial class definitions : 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; ... } Which of the following lists of instance data are accessible in class A2?
1. a, b
2. x, y, z, a, b
3. x, z, a, b
4. x, y, z, a
5. z, a, b
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “For the questions below, use the following partial class definitions : public class A1 { public int x; private int y; protected int z; ... ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » For the questions below, use the following partial class definitions : public class A1 { public int x; private int y; protected int z; ... } public class A2 extends A1 { protected int a; private int b; ...