If A Local Class Is Defined In A Function Which Of The #39
If a local class is defined in a function, which of the following is true for an object of that class?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 OOPs Concept & Features - OOPs MCQ: Objects - Quiz No.1.
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