If A Declaration Of A Member In Inner Class Has The Same Name #314
If a declaration of a member in inner class has the same name as that in the outer class, then ________________ enclosing scope.
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 Class Members & Types - Object Oriented Programming MCQ: Nested Class - Quiz No.2.
If a declaration of a member in inner class has the same name as that in the outer class, then ________________ enclosing scope.
Outer declaration shadows inner declaration in
Inner declaration shadows outer declaration in
Declaration gives compile time error
Declaration gives runtime error