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 }
请允许我水一次。(*/ω\*)