河南成教 / Java程序设计
[简答题] import java. util.*;
public class Class1{
public static void main(Srting args[]){
Date date1=new Date();
System. out. println (datel);
String t=datel.toString();
int endPos=t.indexOf(`C');
t=t.substring(11,endPos);
System. out println(t);
}
}
public class Class1{
public static void main(Srting args[]){
Date date1=new Date();
System. out. println (datel);
String t=datel.toString();
int endPos=t.indexOf(`C');
t=t.substring(11,endPos);
System. out println(t);
}
}
参考答案:
佳题速递: