This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need help with inner classes  RSS feed

 
xenoix patil
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
99.png
[Thumbnail for 99.png]
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

You haven’t said what your question is.
Please re-post the error message using copy-and-paste because screenshots are so hard to read. If you go through the Java Tutorials, you find there are restrictions on inner and nested classes, and whether they are or are not static. Also look for a copy of Bruce Eckel’s Thinking in Java™, which has a whole chapter about inner classes. You can probably download the 3rd edition free of charge.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!