If a local class is defined in a function, which of the following is true for an object of that class?
1
Object is accessible outside the function
2
Object can be declared inside any other function
3
Object can be used to call other class members
4
Object can be used/accessed/declared locally in that function