【单选题】What is the output of the following program? import java.util.Date; public class Test { public static void main(String[] args) { Date date = new Date(1234567); m1(date); System.out.print(date.getTime(...
【单选题】下列程序的运行结果是______。 class A implements Runnable { int a iht i = 2 A(int x) { a = x } public void run() { while(i > 0) { System.out.println('线程' + a) i-- } } } public class Testl3 { public static void ma...
【单选题】下列程序的运行结果是( )。 public class Sun { public static void main(String args[]) { int a=1; int b=1; for(int i=1;i<=3;i++) { a=a+b; b=b+a; } System.out.println(a+' '+B) ; } }