.两个类的关系:(A,B 两个类)
1.一对一,A中定义一个B的属性
Eg.A == Student B == name/id
Eg. == People B ==Pet
2.一对多,A中定义一个B的ArrayList
Eg.A ==Manager B==Student
3.多对多。增加C类记录A和B的对应关系。
Eg.A == Student B ==record C== Course D