Order PDF of any content from our website with a little minor Fee to donate for hard work. Online MCQs are fully free but PDF books are paid. For details: contact whatsapp +923028700085 Important notes based PDF Books are available in very little price, starting from 500/-PKR; Order Now: contact whatsapp +923028700085

NSCT – Object-Oriented Programming (OOP) MCQs

20 min Score: 0 Attempted: 0/20 Subscribe
1. What does OOP stand for?





2. Which of the following is a feature of OOP?





3. What is encapsulation in OOP?





4. Which of the following allows a class to inherit properties of another class?





5. What is polymorphism?





6. What is method overloading?





7. What is method overriding?





8. Which keyword is used in C++ to make a class inherit from another class?





9. In Java, which keyword is used for inheritance?





10. What is an abstract class?





11. What is an interface in Java?





12. What is the difference between a class and an object?





13. Which of the following is true about constructors?





14. What does the keyword self mean in Python OOP?





15. Which OOP principle allows hiding of data members?





16. Which of the following is an example of multiple inheritance?





17. Which type of polymorphism occurs at runtime?





18. Which type of polymorphism occurs at compile time?





19. What does the private access modifier do?





20. What is the purpose of the super keyword in Java?





Contents Copyrights Reserved By T4Tutorials