Person me = new Person(); me.setAge(14); me.addHobby("Computers"); me.addHobby("Video Games"); me.addHobby("Skiing"); me.setUsername("TheMagnificent42"); Sytem.out.println(me.getUsername() + " is " me.getAge() + " years old and his hobbys are: + " me.getHobbysSeperateWith(", ", " and ") + "."); TheMagnificent42 is 14 years old and his hobbys are Computers, Video Games and Skiing.

Top Questions
No questions with score of 5 or more
Top Answers
No answers with score of 5 or more