MCQOPTIONS
Bookmark
Saved Bookmarks
→
Object Oriented Programming
→
Inbuilt Classes
→
All the member functions of local classes are ____...
1.
All the member functions of local classes are __________ by default.
A.
Static
B.
Inline
C.
Abstract
D.
Virtual
Answer» D. Virtual
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which among the following is the main advantage of using local classes?
Can a function, other than the enclosing function of local class, access the class members?
What is the scope of local class?
Can two different functions have local class with same name?
All the data members of local class must be ___________
How many local classes can be defined inside a single function?
Which language can use inheritance with local classes?
The enclosing function has no special access to the members of the local class.
Can static variables be declared inside a local class?
Local classes can access the type names and enumerators defined by the enclosing function.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies