number004.java

来自「我的JAVA, 不知道好不好,希望你可以改」· Java 代码 · 共 43 行

JAVA
43
字号

class Number004
{
  static int number4;
  static double price=1.99;
  static String s="Decorated Tree";
  static int max4;
  static int sell4;
  static int thismax(int b)
  {
    max4=b;
    return max4;
  }  
  static int showmax()
  {
    return max4;
  }
  static void getNumber(int b)
  {
    number4=b;
  }
  static void changeNumber(int a)
  {
    number4=number4-a;
    sell4=max4-number4;
  }
  static int thisNumber()
  {
    return number4;
  }
  static String thisorder()
  {
    return s;
  }
  static double thisPrice()
  {
    return price;
  }
  static int showsell()
  {
    return sell4;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?