design class named number create two sub classes complexnumber realnumber design various met

Design a class named Number. Create two sub classes ComplexNumber, RealNumber. Design the various methods in the above three classes using the concepts of inheritance.
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *