JavaSE 第四讲 Operater 9.23

public class Variable3
{
public static void main(String[] args)
{
//int a = 1;
//int b = 2;

           /*
           int c = a + b;
           int d = a - b;
           int e = a * b;

           System.out.println(c);
           System.out.println(d);
           System.out.println(e);
           */
           
           //int c = b / a;
           //System.out.println(c);

           //double c = (double)a / b;
           //System.out.println(c);

           int a = 5;
           int b = -3;

           int c = a % b;
           System.out.println(c);
          }
}

你可能感兴趣的:(JavaSE 第四讲 Operater 9.23)