This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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.
 
jQuery in Action, 2nd edition
 
subject: Local Inner Class
 
Similar Threads
Abstract Inner Class
Anonymous inner class
Method Local inner class
method inner classes
method-local inner class problem