fork download
  1. public class Main {
  2. // Java程序固定入口方法,所有可执行代码必须放在这里
  3. public static void main(String[] args) {
  4. int a=Math.abs(-12);
  5. int b=Math.max(1,3);
  6. System.out.println(a);
  7. System.out.println(b);
  8. }
  9. }
Success #stdin #stdout 0.07s 52536KB
stdin
Standard input is empty
stdout
12
3