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 Q on static inner Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Q on static inner Classes" Watch "Q on static inner Classes" New topic

Q on static inner Classes

Reshma Shanbhag
Ranch Hand

Joined: Sep 17, 2002
Posts: 204
What is the answer for this question.
Question :
Given the following class file , how can you get a reference to an object of type Inner ?

Options :
a . new Outer ( ) . new Inner ( );
b . Outer . new Inner ( );
c . new Outer . Inner ( );
d . Outer . Inner ( );

SCJP 1.4, SCWCD 1.4
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865

Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="" target="_blank" rel="nofollow">Try my mock exam.</a>
I agree. Here's the link:
subject: Q on static inner Classes
It's not a secret anymore!