Question: Create People.java Class for a Person with following functionality. People object should have following attributes/fields (make them private) their name as String, their address in

Create People.java Class for a Person with following functionality.

People object should have following attributes/fields (make them private) their name as String, their address in next String and their phone number in 7 digit integer

Put all this information in People object by doing the following Create a default Blank constructor - (Name should be No Name, Address should be "000 Street, 000 City, North Pole, Earth, and Phone number should be 1234567) Create a full constructor Create accessors for all fields Create mutators for all fields (use proper this.) Create toString method for People

cs 141 java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!