public class Team{ public Person student = null ; public Person teacher = null public static class Person{ public String name = null ; public String age = null ; } }
代码是整体类的大致结构,当我通过某接口获取到Team实例的时候,如何获取到student的两个值和teacher的两个值?
雪颲
相关分类