Home > database >  JAVA grows a new belt, practical project
JAVA grows a new belt, practical project

Time:04-15

. Write a Person class, including name, gender, age, attributes, such as children and encapsulation has a name, age, add 1 year old, get children, setting methods, such as children, children for an array of Person, with some actual data to test the class design.
  • Related