1.

If a declaration of a member in inner class has the same name as that in the outer class, then ________________ enclosing scope.

A. Outer declaration shadows inner declaration in
B. Inner declaration shadows outer declaration in
C. Declaration gives compile time error
D. Declaration gives runtime error
Answer» C. Declaration gives compile time error


Discussion

No Comment Found