4 a) i) A person can be characterized by their name, addressand date of birth and certain behavior..
4 a) i) A person can be characterized by their name, addressand date of birth and certain behavior such as move
and jump. Define a Java class called Personthat represents this data and behavior. (6 mks)
ii) Write a main method inside this class and declare three instances of the type Person named father, mother,
and child with new attribute values for their names, addresses and birth dates (4 mks)
iii) Illustrate how you invoke the behavior the objects in ii above (4 mks)
b) Explain the meaning and implementation of the following control structures
