Question: Calculator.java, is a simple command-line calculator.
Note that the program terminates if any operand is nonnumeric.
Program: Write a program with an exception handler that deals with nonnumeric operands; then write another program without using an exception handler to achieve the same objective.
Your program should display a message that informs the user of the wrong operand type before exiting.
Prepare this program in java programming