Question: java program : Attributes : Studentid, StudentName, phone, Level Methods - Read ( ) - Write the necessary code to read the student details inside

java program :
java program : Attributes : Studentid, StudentName, phone, Level Methods - Read
( ) - Write the necessary code to read the student details
inside it - Display( ) - To show all the Student attributes

Attributes : Studentid, StudentName, phone, Level Methods - Read ( ) - Write the necessary code to read the student details inside it - Display( ) - To show all the Student attributes Sub class : Mark Attributes : Mark1, Mark2, Mark3, Mark4 Methods : - Input() - Write necessary code to read marks for all the 4 courses( out of 100 ) - Calculate( ) - To calculate the total of marks - Grade( ) - To find the Grade and return the grade (grade = total_marks / 4) - Display( ) - To show all the student details and marks details. Note: Answer the following question and upload the solution(compressed file) in the given elearning link. You have to develop a Java program to manage employee's data. Using Inheritance and Method Overriding perform the following operations given below to help develop the application. Super Class : Employee Altributes : Empid, EmpName, salary, grade Methods : - Show( ) - To show all the attributes of an employee. Subclass : Salary Attributes : Basic salary. TA, HRA, Grade Methods : Inpost () - Jo read Baric Salmy, TA, HRA - Calculate() - To calculate the net salary (Net Salary = Basic salary + TA + HRA - Grade( ) - To find the Grade if basic salary is more than 2000 then "Grade - A" otherwise "Grade - B" - Show() - To show all the details of an employee including attributes shown in the super class and sub class. Driver class: Stuitest

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!