修改项目目录
This commit is contained in:
12
src/chapter2/Example07.java
Normal file
12
src/chapter2/Example07.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package chapter2;
|
||||
|
||||
public class Example07 {
|
||||
public static void main(String[] args) {
|
||||
int x = 5;
|
||||
if (x < 10) {
|
||||
x ++; // x = x + 1;
|
||||
}
|
||||
|
||||
System.out.println("x=" + x);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user