Home »
MCQs »
OOPs MCQs
How many types of functions are there in an object-oriented programming language?
100. How many types of functions are there in an object-oriented programming language?
- 4 types
- 5 types
- 2 types
- 6 types
Answer: B) 5 types
Explanation:
There are 5 types of functions in Object-oriented programming languages, they are: Simple functions, Static functions, Const functions, Inline functions, and Friend functions.