If a local class is defined in a function, which of the following is true for an object of that class?
- Object is accessible outside the function
- Object can be declared inside any other function
- Object can be used to call other class members
- Object can be used/accessed/declared locally in that function.
(d).Object can be used/accessed/declared locally in that function.
need an explanation for this answer? contact us directly to get an explanation for this answer