Home > front end >  Using Java to do the following items
Using Java to do the following items

Time:10-31

Solution:
1. The Person as the inner class, attribute is the name and age, write Getters and Settters, with and without a constructor, write the toString
2. Write Mainclass class for test class, instantiate Person, output Person object
  • Related