Question: This assignment will help you get going with a solid Java development environment that is portable and repeatable in many different environments. It will also
This assignment will help you get going with a solid Java development
environment that is portable and repeatable in many different environments. It
will also serve as a quick review of the materials you learned from the
previous class. You will be building a simple POJO class named Contact.
Here are the require attribute for your class,
• First Name
• Last Name
• Email
• Phone
Additional requirements class Contact include:
• A constructor that can takes in all four attributes as parameters to
initialize the new Object with the passed in state
• Getter and setter methods for all four attributes listed
• Implement / override Object method equals()
• Implement / override Object method hashCode()
• Implement / override Object method toString()
• Use the maven created App class to create an instance of Contact
and initialize the Contact Object with your Contact information (First
Name, Last Name, Email and Phone)
• After creating the Contact and initializing it with your Contact
information display the contents / state of the Contact Object on the
console using any one of the varieties of the System.out print utility
methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
