Write the program In Java OOP language Create the following class: Employee: Employee have

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

Write the program In Java OOP language
Create the following class:
Employee:
Employee have following variables: Name,Id,Designation,Serviceyears,Salary,status(permanent
or probation):
Set Employee’s information using constructor Hint: create a parameterized constuctor
Create the following methods:
uppraisalStatus():checks if an employee is valid for appraisal or no , validity criteria is if an
employee serves more than 1.5 years. ( 10% appraisal )
giveFeedback(): this method will take feedback & give suggestion for about the department
employee is working in.
showbenefits(): if the status is permanent print you can avail the benefits else print after the
probation period you can avail all the benefits.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT