Question: Which one is correct? O An inner class object can not access to public attributes, but access to public methods of the outer class An
Which one is correct? O An inner class object can not access to public attributes, but access to public methods of the outer class An inner class object can access to public attributes and methods of the outer class An inner class object can not access to public attributes and methods of the outer class An inner class object can access to only public attributes, but not public methods of the outer class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
