This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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>
Have you checked out Aspose?
subject: Q on static inner Classes
It's not a secret anymore!