Answered step by step
Verified Expert Solution
Link Copied!

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 (1 super class and 2 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 abnormal/exceptional cases. At least 1 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

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

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What will you do or say to Anthony about this issue?

Answered: 1 week ago