It can perform all basic mathematical operations, with built in advanced exception handling.
javac BasicCalc.java
and then, java BasicCalc
And then run the class file.
Note: While running the app, after each calculation press "C" to get clean result.