java 中如何理解‘’包中非子类‘’?

如题所述

第1个回答  推荐于2016-07-16
com.aaa.example.Pserson
com.aaa.example.Student
com.aaa.example.Classroom
student extends Person
classroom就是包中非子类
了解不追问

person类student类Classroom类哪个是包中非子类

这三个类好像都是包种独立类,没有继承关系啊

追答

我不是说了吗?classroom就是包中非子类

本回答被提问者采纳
相似回答