Challenge

Project

I’ve created the Program for Scientific Calculator.

Implementation of OOPS Concepts:

Classes & Objects – Various classes and Instances were created ( Operations & StoreRecall)

Inheritance - Achieved by using Extends keyword (Operations extends SciCal).

Abstraction - Used abstract class for achieving abstraction in order to hide the functionalities from the user. (Abstract class StoreRecall).

Polymorphism:

Method overloading is achieved by having the same name of add() for both addition and store. Method Overriding is achieved by having the same name for the methods and different arguments. multiple() for both Multiplication and Division.

Also, I’ve used the concepts of File Handling and Exception Handling.

Try Catch methods are also implemented in the program.

While loop is created for the infinite looping concept.

For loop is also used inside the program.

The scanner class is imported for getting inputs.

Nested if - method is used for continuous checking of the various conditions.

Thanks & Regards!

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.