Kri shan In your code below, where you have defined the method "meth1()"
Try to define that method and compile it.
PS : post the exact error you are getting so that it 'll be easy to debug or solve the problem.
The code mentioned in the first post will compile. In the above code a instance variable is declared & initilized. But you can't run the class because you dont have a main method. [ March 02, 2005: Message edited by: Srinivasa Raghavan ]