File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes anonymous inner class and interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "anonymous inner class and interface" Watch "anonymous inner class and interface" New topic
Author

anonymous inner class and interface

Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

I don't know why this program is giving error..!! i know there must be some silly stupid mistake..but i am not able to spot it..!!! Hope you guys will help me..!!!


Error:


Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Sunny Jain:

You're trying to define a method (meth2) inside the body of another method (main).


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Ahh..I am such a dumb..I got it..thanks a ton..!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: anonymous inner class and interface