The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inner Class Query 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 Class Query" Watch "Inner Class Query" New topic

Inner Class Query

Rahul Choudhary

Joined: Jul 25, 2012
Posts: 22

Seems like a pretty straight forward program where in my knowledge I have followed all rules of Inner Class. Checked all {} and ; also. What could be the reason for the errors?

P.S. I wanted to show screenshot of the errors at command prompt but I don't see how you can upload from local drive.
nir sharma
Ranch Hand

Joined: Sep 11, 2012
Posts: 72

"do" is a keyword, change the method name and then try.

for future : you can upload image file using the attachments tag at the bottom, if not then atleast copy paste the error you get.
Rahul Choudhary

Joined: Jul 25, 2012
Posts: 22
Hey thanks for the heads up on attachment. And ya little silly mistakes! Thanks anyways.
I agree. Here's the link:
subject: Inner Class Query
jQuery in Action, 3rd edition