Quantcast
Channel: Object-oriented calculator - Code Review Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Rubydesic for Object-oriented calculator

new Scanner(System.in).nextLine()This is wasteful. Creating a new scanner object every time that you read a line is very bad for performance. Not to mention that you never close it.Why does your...

View Article



Object-oriented calculator

I have solved an assignment (Exercise 3) from the MOOC Object-Oriented programming with Java, part II, but I'm not enrolled in said course.Assignment Summary:Make a simple calculator. You may create a...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images