Sail E0 Webinar
Question
Which statements are most accurate regarding the following classes?
class A{
private int i;
protected int j;
}
class B extends A{
private int k;
protected int m;
}
Options:
A .  An object of B contains data fields i, j, k, m.
B .  An object of B contains data fields j, k, m.
C .  An object of B contains data fields j, m.
D .  An object of B contains data fields k, m.
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers