| Author |
Instantiating an inner class.
|
Alexander Sales
Ranch Hand
Joined: Feb 21, 2011
Posts: 89
|
|
Hi,
Good morning and good day!
Question:
Suppose I have..
How many object instances will i create if i will do this code?
|
OCPJP 6, OCEWCD Java EE 6
|
 |
Ralph Cook
Ranch Hand
Joined: May 29, 2005
Posts: 479
|
|
You will have created two that we know of -- one Outer and one Inner, with no ongoing reference to the Outer class.
rc
|
 |
 |
|
|
subject: Instantiating an inner class.
|
|
|