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; }
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.
Answers
Answered by
0
options is correct because it is more accurate regarding these following cases
Answered by
0
all options are correct
Similar questions
Social Sciences,
6 months ago
English,
6 months ago
Hindi,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Physics,
1 year ago
Physics,
1 year ago