正在加载图片...
a void amethod(int i) throws Exception t B void amethod(long throws Exception t C void amethod(long i)t d public void amethod(int i) throws Exception t 3.在下面代码中那些修饰符可以放在XX位置 public class My Class1 public static void main(String argy 修饰符位置 XX/class MyInner A public B private 4.根据程序代码选择所有返回为true的表达式 aras Float f=new Float(4 Float C. Double d=new Double(4.2) float fl=4,2f: c=f a fequls(d) B cc==d 5.哪两种方法不能直接引起一个线程中断执行 a sleep B stop: c yield D waito E notify G synchronized 6.重载类ha的构造方法,下面哪些是正确的 B hai(int a, int b) c public hai (int a) D int hai (int C, int d) E int hai(string s)A void amethod(int i) throws Exception {} B void amethod(long i)throws Exception {} C void amethod(long i){} D public void amethod(int i) throws Exception {} 3. 在下面代码中那些修饰符可以放在XX位置 public class MyClass1 { public static void main(String argv[]){ } /*修饰符位置 XX */ class MyInner {} } A public B private C static D friend 4. 根据程序代码选择所有返回为true的表达式 public static void main(String args[]){ Float f=new Float(4.2f); Float c; Double d=new Double(4.2); float fl=4.2f; c=f; } A f.equls(d) B c==f C c==d D c.equls(f) 5. 哪两种方法不能直接引起一个线程中断执行 A sleep(); B stop(); C yield(); D wait(); E notify(); F notifyAll() G synchronized() 6. 重载类hai的构造方法,下面哪些是正确的 A public void hai(int a) B hai(int a,int b) C public hai(int a) D int hai(int c, int d) E int hai() F int hai(String s)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有