Get App on

Play Store

Software Engineering Mcqs

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

 (B)  An object of B contains data fields k, m

 (C)  An object of B contains data fields j, m

 (D)  An object of B contains data fields i, j, k, m

Submitted By :Ali Uppal


Share this... Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Share on Whatsapp
Whatsapp

  • IF YOU THINK THAT ABOVE POSTED MCQ IS WRONG.

  • PLEASE COMMENT BELOW WITH CORRECT ANSWER AND ITS DETAIL EXPLANATION.

  • Related Mcqs


    Leave a Reply

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