Question: What should we do if we want to create a new datatype, but we don't want to create all the functionality of a normal class

What should we do if we want to create a new datatype, but we don't want to create all the functionality of a normal class in it?
A. We have to create a normal class, as there is no other way to solve our problem.
B. We should import classes from other libraries, as there is no other way to solve our problem.
C. We should create an enum/ enumerated type to solve our problem.
D. We should create an Interface to solve our problem.
What should we do if we want to create a new

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 Programming Questions!