Why use inner class? oInner class can access to all the elements of the enclosing class oInner classes can be hidden from other classes by using private o Anonymous inner classes are handy sometimes oConvenient when you are writing event- driven programsWhy use inner class? lInner class can access to all the elements of the enclosing class lInner classes can be hidden from other classes by using private lAnonymous inner classes are handy sometimes lConvenient when you are writing event- driven programs