| |
GeekInterview.com > Tech FAQs > Programming > Java
| Print | |
Question: Inner Class
Answer: What is Inner Class? What is use of it? |
| December 12, 2008 09:26:05 |
#1 |
| V.Tamizh |
Member Since: November 2008 Total Comments: 2 |
RE: Inner Class |
- An inner class is a class that is defined inside another class.
- Inner class is a safety mechanism.
- Inner class is hidden from other classes in its outer class.
- Inner class can access the members of outer class directly.
- Inner class object and outer class objects are created in separate memory locations.
Generally, for authentication purpose we are using inner class
|
| |
Back To Question | |