Simple Java calculator

后端 未结 10 1888
迷失自我
迷失自我 2020-12-22 02:16

Firstly this is not a homework question. I am practicing my knowledge on java. I figured a good way to do this is to write a simple program without help. Unfortunately, my c

10条回答
  •  天涯浪人
    2020-12-22 02:53

    Just as a tip, it's generally not a good idea to start throwing

    import java.util.*;
    into your program because it makes the program unnecessarily large and slow. All you need for this is to
    import java.util.Scanner;
    If I'm correct, most if not everything in java.lang is already imported for you.

提交回复
热议问题