OOPS Quiz (Set 4)

OOPS (Set 4)

1 / 10

What is the purpose of an abstract class in OOP?

2 / 10

What is polymorphism in OOP?

3 / 10

What is the main purpose of the 'super' keyword in OOP?

4 / 10

Which OOP principle promotes the idea of binding data and methods into a single unit?

5 / 10

In OOP, what does the term 'inheritance' refer to?

6 / 10

What is encapsulation in object-oriented programming?

7 / 10

What is the difference between a constructor and a destructor?

8 / 10

What is the difference between a pass statement and a return statement?

9 / 10

What is the difference between a parameter and an argument?

10 / 10

What is the difference between a local variable and a global variable?

Your score is

The average score is 0%

0%