Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create an interface titled Student. Take an abstract method under the interface titled percentage_calculation (). Create a class named as FAT_Exam. Under the class exam
Create an interface titled "Student. Take an abstract method under the interface titled" percentage_calculation ()". Create a class named as FAT_Exam. Under the class exam take the attributes such as name, roll, Marks [6]. The variable mark is an array that takes the input marks of six different subjects. Under the class "FAT_Exam" define a method named as "void getdata()" to display the details of the student. Don't forget to initialize the values through a parametrized constructor. Take another class Result_Analysis that extends the class FAT_Exam" and implements" the class "Student". Define another parametrized constructor under "Result" with same attributes as the earlier constructor. Use appropriate keyword to call the previous constructor. Take a method "void calculation ()" to calculate the percentage of the student and display
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started