public class Person {
static class Dog {
}
class Bird{
}
public static void main(String[] args) {
Person.Dog dog = new Person.Dog();
Person p = new Person();
Person.Bird bird = p.new Bird();
}
}
更多内容请访问:IT源点
注意:本文归作者所有,未经作者允许,不得转载