Java Class program, help please?

"Consider a class CompanyAddress that represents an entry in an address book. Its attributes (instance variables) are:

- The name of the company

- The branch of the company

- The email address of the company

- The telephone number of the company

CompanyAddress will have methods to

- access each attribute

- change the email address

- change the telephone number

- test whether two instances are equal based solely on name

Below, method headings, as well preconditions and postconditions, have been written for each method. Create a file called CompanyAddress.java "

This is a program I have been asked to create, and I am clueless as to where I should even start, any guidance is appreciated

Comments

  • To start you need to understand classes. Work through this tutorial...

Sign In or Register to comment.