Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You need to design your own classes with following requirements - At least three classes are required ( 1 super class and 2 sub classes
You need to design your own classes with following requirements
At least three classes are required super class and sub classes
Classes should be identical for everyone and repetition of same classes will lead you to zero marks,
also you cant choose any class which is already shown in the class
Create two different packages and use at least one of those
In your class design you must have to have the reflection of the concept of Encapsulation, Method
overloading, Method overriding, and Abstraction.
In method overriding there should have some mathematical calculation not just a random print
statement
Exception must be handled for any abnormalexceptional cases. At least custom exception must
be there.
During viva you will be asked about your code. So it is recommended that you have a clear
understanding of the entire code and the concept behind it
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