Hi! Kouresh,
1> The point in defining an inner class inside a method is to get the specific behavior of an interface or an abstract class by extending it, and restricting that behavior to only that method.
2> U can not create an object of the class which is diclared inside the method becoz the scope of the class is inside that method only.
Please read Thinking in
Java and about
polymorphism.
[This message has been edited by Anil Kollur (edited November 09, 2000).]