This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 203
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>
Consider Paul's rocket mass heater.
subject: Q on static inner Classes