Question: Create a super class as student which includes the data members name, roll_no, and semester. Then create the sub class named as test and
Create a super class as student which includes the data members name, roll_no, and semester. Then create the sub class named as test and collect the student's theory and lab marks. Then create another the sub class result using test and calculate the percentage, grade and CGPA. Implement a java application in which obtain the entire student details from user and then print percentage, grade and CGPA. Test Case 1: Output1: Enter the Name: Name: Roll Number: Enter Roll Number: Semester: Mark Details: Enter the Semester: Enter the Marks: Grades: Percentage: CGPA:
Step by Step Solution
3.47 Rating (150 Votes )
There are 3 Steps involved in it
The required code is given below A program to print students details import javautilScanner class Student protected String name protected int semester ... View full answer
Get step-by-step solutions from verified subject matter experts
