Two Laptop Bag
The moose likes Beginning Java and the fly likes need help with inner classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "need help with inner classes" Watch "need help with inner classes" New topic

need help with inner classes

xenoix patil

Joined: Mar 08, 2012
Posts: 1

[Thumbnail for 99.png]

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46412
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.
I agree. Here's the link:
subject: need help with inner classes
It's not a secret anymore!