I believe it should be something like this.
Outer.Inner u = o.new Inner();
Instead of "o.Inner();" Inner is not a method, you can't instantiate it like method. It's inner class.
Similar question can be found in Kathy and Berts book Chapter 8 and very last question. I saw this couple weeks ago in that book and I do not have any reference with me now.
If you do not have KB book, this url should do. Scroll down until you find TestMe class.
http://www.javaranch.com/campfire/StoryInner.jsp Anyway, bother to share where do you get those question from ?
k
[ September 17, 2004: Message edited by: Kay Liew ]
[ September 17, 2004: Message edited by: Kay Liew ]