File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inner classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner classes" Watch "Inner classes" New topic

Inner classes

Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
Hi All,
I have completed the inner classes questions from the K&B and Khalid book and from Dan's website. I feel I still need more practice.
Any suggestions?
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

Have you tried playing with them? Writing some code? Can you write an example of all the different Inner classes without having to look at your book?
Marlene Miller
Ranch Hand

Joined: Mar 05, 2003
Posts: 1391
My first idea was to search the forum for all topics on inner classes. But the ratio of wheat to chaff might not be high enough. It might be too time consuming.
I try to look at any thread or inner class question that comes up at the Ranch each day. For example, Harwinder just asked a good one on local classes. You probably do the same thing already.
The best idea I can think of is to find a study partner (preferably someone who knows inner classes even better than you do). Go through the inner classes chapter of The Java Programming Language sentence by sentence. For each sentence, invent several difficult code examples for your partner.
Dan told me his questions originated when he was studying for the exam. If only we could all invent questions like he can.
[ October 19, 2003: Message edited by: Marlene Miller ]
Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
Marlene and Jessica,
Thanks for the nice tips.
I agree. Here's the link:
subject: Inner classes
It's not a secret anymore!