1 import java.util.Date; 2 public class Example4_16 { 3 public static void main(String[] args) { 4 Date date=new Date(); 5 System.out.println("本地機器的時間:"); 6 System.out.println(date.toString()); 7 } 8 }
請允許我水一次。(*/ω\*)
1 import java.util.Date; 2 public class Example4_16 { 3 public static void main(String[] args) { 4 Date date=new Date(); 5 System.out.println("本地機器的時間:"); 6 System.out.println(date.toString()); 7 } 8 }
請允許我水一次。(*/ω\*)