InterviewSolution
Saved Bookmarks
| 1. |
All the member functions of local classes are __________ by default.(a) Static(b) Inline(c) Abstract(d) VirtualThe question was posed to me in a national level competition.This question is from Local Class in division Class Members & Types of Object Oriented Programming |
|
Answer» CORRECT option is (c) Abstract The BEST I can EXPLAIN: All the members are defined INSIDE the class body. And when the member functions are defined inside the class body, they are made inline by default. If the definition is too complex, those are made NORMAL functions. |
|