This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Local Inner Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Local Inner Class" Watch "Local Inner Class" New topic
Author

Local Inner Class

zarina mohammad
Ranch Hand

Joined: Jun 26, 2002
Posts: 104
is this the right way to call the class defined inside a method?

i'm encountering compiler error at line X. which is the right way to call the class declared inside a method?
thanks
zarina
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
That looks right, but check your capitalization on your method invocation.


SCJP Tipline, etc.
zarina mohammad
Ranch Hand

Joined: Jun 26, 2002
Posts: 104
thanks ....i mispelled the method name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Local Inner Class