Loading, please wait ...

Multiple Choice Questions for Introduction to OOP

  • 1 Parent class can access a variable with ______ visibility in the child class.
    1. private
    2. protected
    3. public
    4. Not possible

  • 2 A method with which of the following visibility will be accessible to child class?
    1. private
    2. protected
    3. None

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert