OOPS Quiz (Set 17)

OOPS (Set 17)

1 / 10

What is the purpose of a factory method?

2 / 10

What is the difference between overloading and overriding?

3 / 10

What is the difference between an abstract class and an interface?

4 / 10

What is the difference between a single inheritance and a multiple inheritance?

5 / 10

What is the difference between a composition and an aggregation?

6 / 10

What is the difference between a static method and a virtual method?

7 / 10

What is the difference between a class and an interface?

8 / 10

What is the difference between polymorphism and inheritance?

9 / 10

What is the difference between encapsulation and abstraction?

10 / 10

What are the four pillars of object-oriented programming?

Your score is

The average score is 0%

0%