why inner classes are required | SoloLearn: Learn to code for FREE!

+2

why inner classes are required

what is the purpose of inner classes. where it can be used.

4/28/2017 2:04:28 PM

shobhit

1 Answer

New Answer

+15

By using inner classes you can hide methods and fields from outside access.