大家说改选什么呢,嵌套类的问题
qnake 2004-03-28 10:03:16 1. package foo;
6
2.
3. public class Outer {
4. public static class Inner {
5. }
6. }
Which statement is true?
A. An instance of the Inner class can be constructed with “new Outer.Inner ()”
B. An instance of the inner class cannot be constructed outside of package foo
C. An instance of the inner class can only be constructed from within the outer
class
D. From within the package bar, an instance of the inner class can be constructed
with “new inner()”