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 j, m

B. An object of B contains data fields j, k, m

C. An object of B contains data fields i, j, k, m

D. An object of B contains data fields k, m

Be the first to comment if anything wrong with this mcq
Your comment successfully submitted!
It will automatically posted after review and approval by our staff member.