Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I don't understand how to get started. Can someone please explain? Also, how do I do a UML class diagram and jar file? I am

I don't understand how to get started. Can someone please explain? Also, how do I do a UML class diagram and jar file? I am studying java.

Create two subclasses:

  • Employee with the following fields: first name, last name, zip, email, employee id, salary, exempt flag, job title, years of service
  • Customer with the following fields: first name, last name, zip, email, customer id, company, customer type (retail or corporate)

NOTE: Exempt means exempt from laws related to overtime pay (these are usually employees that are salaried as opposed to hourly)

Create a Person class that is the base class of the first two.

  • Make sure "users" cannot directly access your fields.
  • Provide at least two constructors per class.
  • Be sure to initialize all fields within the constructor.
  • Provide getters and setters for each field.
  • Fully document your code. Javadoc comments are required above the class and each non-trivial method (i.e., any method that contains behavior that could be unexpected).

Be sure to use camel-case field names and methods based on the names above. The Employee class needs a yearsFullyVested "class variable". Provide the appropriate accessor and mutator.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

Describe and discuss system testing.

Answered: 1 week ago

Question

Patients are kept waiting two hours for appointments.

Answered: 1 week ago