填空题
如果一个线程调用______()方法,将使该线程进入休眠状态。
【参考答案】
sleep()
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
Java输入 输出流中包括字节流、______、文件流、对象流以及管道流。
点击查看答案&解析
填空题
将下面程序补充完整。 public class PowerCale public static void main(String[] args) double x=5.0; System.out.println(x+ to the power 4 is +power(x,4)); System.out.println( 7.5 to the power 5 is +power(7.5,5)); System.out.println( 7.5 to the power 0 is +power(7.5,0)); System.out.println( 10 to the power -2 is +power(10,-2)); static double ______ (double x,int n) if(n>1)return x * power(x,n-1); else if(n<0)return 1.0 power(x,-n); else return n==0 1.0:x:
点击查看答案&解析
相关试题
阅读下面程序 public class Test imple...
阅读下面Applet程序 import javax.swing...
阅读下面实现堆栈类并发控制的部分代码 pu...
阅读下面求质数的程序 import java.lang...
阅读下面程序 public class Test2 _...