📄 untitled1.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 + -