(1) Create two files to submit.
ContactNode.java – Class definition
ContactList.java – Contains main() method
(2) Build the ContactNode class per the following specifications:
Parameterized constructor. Parameters are name followed by phone number.
Private fields
String contactName
String contactPhoneNumber
Public member methods
getName() – Accessor (1 pt)
getPhoneNumber – Accessor (1 pt)
printContactNode()
Ex. of printContactNode() output:
Name: Roxanne Hughes Phone number: 443-555-2864
(3) In main(), prompt the user for three
The post Build the ContactNode class per following specification appeared first on Assignment Freelancers.