

MCQOPTIONS
Saved Bookmarks
1. |
How to create object of the inner class?$ |
A. | OuterClass.InnerClass innerObject = outerObject.new InnerClass(); |
B. | OuterClass.InnerClass innerObject = new InnerClass(); |
C. | InnerClass innerObject = outerObject.new InnerClass(); |
D. | OuterClass.InnerClass = outerObject.new InnerClass(); |
Answer» B. OuterClass.InnerClass innerObject = new InnerClass(); | |