java 小作业01 Write a class Person.

时间:2015-07-08 10:11:58
【文件属性】:

文件名称:java 小作业01 Write a class Person.

文件大小:8KB

文件格式:RAR

更新时间:2015-07-08 10:11:58

Write a class Person

We need to model the concept of a family. For our needs, a family will consist of A father and a mother. A number of children. We can model parents as instances of the Person class and children as a collection of Person instances,. At least, the Family class should provide the following methods:


【文件预览】:
test1
----bin()
--------com()
----.settings()
--------org.eclipse.jdt.core.prefs(629B)
----src()
--------com()
----.project(381B)
----.classpath(301B)

网友评论