+ 2

How inner classes are helpful..?

Means where we can use these

25th Dec 2015, 1:59 PM
Ankush Kumar
Ankush Kumar - avatar
3 Answers
+ 5
I can just give this example for inner classes: you can have class Wheel inside class Car and you can also have class Wheel inside class Airplane - 2 different classes with differen characteristics.
23rd Jan 2016, 8:57 PM
Симеон Николов
Симеон Николов - avatar
if we want place two same type or related classes together than inner classes are useful
30th Jun 2016, 4:08 AM
khushboo baheti
khushboo baheti - avatar
what for?
3rd Aug 2016, 5:40 AM
Omar Aguayo
Omar Aguayo - avatar