Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Local Inner Class

 
zarina mohammad
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That looks right, but check your capitalization on your method invocation.
 
zarina mohammad
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ....i mispelled the method name.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic