增加注释
This commit is contained in:
parent
730e6a8592
commit
886c549976
@ -1,5 +1,9 @@
|
|||||||
package chapter5;
|
package chapter5;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取当前时间
|
||||||
|
*/
|
||||||
|
|
||||||
public class Example11 {
|
public class Example11 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
|
@ -3,6 +3,9 @@ package chapter5;
|
|||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取系统信息
|
||||||
|
*/
|
||||||
public class Example12 {
|
public class Example12 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
// 获取当前系统信息
|
// 获取当前系统信息
|
||||||
@ -15,3 +18,4 @@ public class Example12 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user