aspose file tools*
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
Author

Inner classes

Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Hi Friends,
i've this question:

Isn't the final variable c accessible on line 9??Clear my doubts ..plz.


SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
vinuharan haran
Ranch Hand

Joined: Feb 26, 2005
Posts: 64
Hi,
i think all the variables except d can be referenced at line 9.
-vinu.
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
I just tested it, All but d are visible.
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
I too gave that answer,all except d....but to my bewilderment the answer was only 'e'.It was the mock test available at www.javacamp.org.But I should tell the level of the test was really high and I recommend it for all you guys preparing for scjp1.4 too.
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Got one more bug on this test,for this question:

I compiled and saw voloxo was correct.So,Friends take note of this.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner classes