11
PetriJ
8y

...
Person me = new Person();
me.setAge(20);
int newAge = me.getAge();
System.out.println("Happy birthday! " +me.getName+ "You are now " newAge+ " years old!");

Happy birthday to me!πŸ˜ŽπŸŽŠπŸŽ‰πŸ»

(Probably stupid code πŸ˜‚)

Comments
Add Comment