⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 untitled1.java

📁 java环境开发
💻 JAVA
字号:
package cxyex;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class Untitled1 {
    public Untitled1() {
    }

    static int d = 1;
    static void fun(int p) {
        int d = 5;
        d += p++; //d=d+p++;// d=d+p;p=p=+1;
        System.out.println("函数内" + d);

    }

    public static void main(String[] args) {
        int a=4;
        int m=0;
        int i,j;
        for(i=0;i<a;i++)//i=0 i=1 i=2 i=3 i=4
            for(j=0;j<=i;j++) //j=0 1<=0 /j=0 1  2<=1/j=0 1 2 3<=2/j=0 1 2 3 4<3
                m++;//1  /2 3 4 5 6 7 8 9 10
        System.out.println("m="+m);
    }
}

⌨️ 快捷键说明

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