Home > Object Oriented Programming > Quizzes > OOPS Concepts Fundamentals Test
OOPS Concepts Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “A polymorphism can be called what?”
OOPS Concepts Fundamentals Test
Time left 00:00
25 Questions

1. What class and extension best demonstrate a HAS-A Relationship?
2. True or false? Private variables are visible outside of the class.
3. A polymorphism can be called what?
4. True or false? the final keyword blocks a child class from altering a method.
5. If you wanted a variable to be free from changes outside its class - how should it be declared?
6. What is the most important trait of a polymorphism?
7. If a user were to observe Java code from the outside world - what would they be able to access?
8. Static binding is also known as what?
9. What are objects identified by?
10. OOP stands for:
11. Why is dynamic binding referred to as -œlate binding-?
12. What is a simple way to think of inheritance?
13. Why is composition considered a simpler method than inheritance?
14. A trait is:
15. If you wrote two methods with the same syntax and arguments to define a class - what would happen?
16. True or false? Private methods can be called by subclasses
17. The diamond problem refers to:
18. Public variables are visible outside of the class.
19. True or false? Static variables are visible outside of the class
20. True or false? Using traits gives single inheritance languages most of the power of multiple inheritance.
21. What is another name for the composition over inheritance technique?
22. In most OOP languages virtual methods are:
23. What are classes used for?
24. Which of the following is included in the field of formal semantics?
25. True or false? .Encapsulation is a key reason to choose OOP design