Java for Programmers: Lab 4

Create a new Class definition for a Person.

A person should have the following attributes:

String name
int age

The Person should have setter and getter methods for both of these properties.

setAge should also have an over-ridden method for setAge() which takes a String, so that age can be specified as a String or as in int.