How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLPROG Your Own Question

ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 9151
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

Write a class named Employee that has the following fields:

Customer Question

Write a class named Employee that has the following fields:

- name. The name field is a String object that holds the employee's name.
- idNumber. The idNumber is XXXXX int variable that holds the employee's ID number.
- department. The department field is a String object that holds the name of the department where the employee works.
-position. The position field is a String object that holds the employee's job title.

Write appropriate mutator methods that store values in these fields and accessor methods that return the values in these fields. Once you have the written the class, write a separate program that creates three Employee objects to hold the following data.

Name ID Department Position
Susan Meyers 47899 Accounting Vice President
XXXXX XXXXX 39119 IT Programmer
Joy Rogers 81744 Manufacturing Engineer

The program should store this data in the three objects and then display the data for each employee on the screen.
Submitted: 4 years ago.
Category: Programming
Expert:  ATLPROG replied 4 years ago.

ATLPROG :

Hi

ATLPROG :

How soon did you need this answered ?

ATLPROG :

Can you please send me a pdf/word document/URL of your assignment description ?

Customer:

Within the hour

ATLPROG :

Can you please send me a pdf/word document/URL of your assignment description ?

Customer:

It's from a textbook

Customer:

I can convert to Word

ATLPROG :

thats ok

ATLPROG :

stay here while I do this for you

Customer:

ok

ATLPROG :

k

ATLPROG :

here ?

Customer:

yep

ATLPROG :

Sending the answer link

Customer:

ok

ATLPROG :

LINK

Customer:

I assume it's good. Thank you.

ATLPROG and other Programming Specialists are ready to help you
Expert:  ATLPROG replied 4 years ago.
Please start your question text with "For ATLProg Only" to request me again, next time you need help! http://www.justanswer.com/computer/expert-atlprog Please bookmark this link to request me again.
Customer: replied 4 years ago.
I ran the program, but it's coming up with null for each object
Expert:  ATLPROG replied 4 years ago.
what file did yoju run ? Did you run the EmployeeTest.java ? Make sure both Employee.java and EmployeeTest.java are in same folder. ALso the names of files should remain exactly the same as I gave you, please do not change names of files or classes