Problem: Write Java code for a Baby class.
- A Baby has a name String and an age integer.
- Supply methods for setting the name, setting the age, getting the name and getting the age.
- Give Java code for an equals method for the Baby class.
- Babies count as the same if their names and their ages are exactly identical.
- Test your class by writing a client program which uses an array to store information about 4 babies.
- The client program should then a) output the details of the babies from the array, b) calculate and display the average age of the babies and, c) determine whether any two babies in the array are the same.