Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Write a Java program to create a class Emplovee and the following members are used in this class Object Class: Emplovee Member variables: Employeeid.

image text in transcribed

1) Write a Java program to create a class Emplovee and the following members are used in this class Object Class: Emplovee Member variables: Employeeid. Employee name Basic Salary. TA HRA Insurance Gross salary Member Methods: Set 0 Calculate Grosso Create a method called Set ( and set the Emploveend Emploveename Basic Salary Create a method called Calculate_Gross() and calculate & return the Gross Salary TA = 20 . of Basic Salary HRA = 10. of Basic Salary Insurance 5 of Basic Salary Grosssalary Basicsalary + TA - HRA a river Class: Employee test Get the input values Employeeid Employeename Basic Salary Pass the values Emploveend Emploveename Basic Salary in the set() method Display the Employeeid Emploveename Basic Salary Gross salary

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_2

Step: 3

blur-text-image_3

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions

Question

why we face Listening Challenges?

Answered: 1 week ago

Question

what is Listening in Context?

Answered: 1 week ago