New course! Every coder should learn Generative AI!
Try a free lesson+ 1
I know it is not Java because I have yet to complete it but here is my basic calculator in Python for some ideas.
Hope this helps. Happy coding.
https://code.sololearn.com/cvbzeLWBI3T0/?ref=app