Wednesday, August 1, 2007

Inner Classes

Inner Classes :-
the class inside onother class is called inner class. but their are some limitations about inner classes......
1. they should be static always...
2. they can be private, but only used by their outer class( Enclosing class )...
3. they can be public also.....
4. they can implement interfaces....
5. they can not extend.....

their are 4 types of inner classes..
1. static inner class.
2. local inner class.
3. Anonomus inner class :-
this is some wt difficult for me to understand.... but (sobiya mam and vakeel ne firse samjhaya then ab jake thoda bahot samajha hai....) still i m trying to get understand it more clearly.........


Ragards,
Rachana Kulkarni.

No comments: