Which of the followings are false statements about Local class? 1. A local class type name can only be used in the enclosing function 2. All the methods of Local classes must be defined inside the class only 3. A Local class can contain static data members. 4. A Local class may contain static functions. 5. Non-static variables of the enclosing function are not accessible inside local classes. 6. Local classes cannot access global types, variables and functions.
Options:
A .  Only 1,3
B .  Only 3, 6
C .  Only 2 , 4 , 6
D .  None of these
Answer: Option B NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Submit Comment/FeedBack