📄 testintarray.java
字号:
package net.aetherial.gis.test;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company: </p>
*
* @author 王爱国
* @version 1.0
*/
public class TestIntArray {
public TestIntArray() {
}
public void testIntArray(){
int[] array = new int[2];
//array[0] = 1;
for (int i = 0; i < array.length; i++) {
System.out.println(array[i]);
if (array[i] == 0) {
System.out.println("int[] null == 0");
}
}
}
public static void main(String[] args) {
String str = "(东村-西村)";
str= str.replace('(',' ').replace(')',' ');
System.out.println(str.trim());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -