男性,46岁。反复呕吐8天,血清钠108mmol/L,脉搏120次/分,血压70/50mmHg,应诊断为()A.轻度缺钠B.中度缺钠C.重度缺钠D.轻度缺水E.中度缺水
第1题
阅读下列程序片段。 Public void test{ Try{ sayHello; system.out.println("hello"): }catch(ArraylndexOutOfBoundException e){ System.out.println("ArraylndexOutOfBoundExcep— tion"); }catch(Exception e){ System.out.println("Exception"): }finally{ System.Out.println("finally"); } } 如果sayHello方法正常运行,则test方法的运行结果将是()。
A.Hello
B.ArraylndexOutOfBondsException
C.Exception Finally
D.Hello Finally
第2题
阅读下列程序片段。
Public void test{
Try{
sayHello;
system.out.println("hello"):
}catch(ArraylndexOutOfBoundException e){
System.out.println("ArraylndexOutOfBoundExcep—
tion");
}catch(Exception e){
System.out.println("Exception"):
}finally{
System.Out.println("finally");
}
}
如果sayHello方法正常运行,则test方法的运行结果将是()。
A.Hello
B.ArraylndexOutOfBondsException
C.ExceptionFinally
D.HelloFinally
第3题
阅读下列程序片段。 Public void test{ Try{ sayHello; system.out.println("hello"): }catch(ArraylndexOutOfBoundException e){ System.out.println("ArraylndexOutOfBoundExcep— tion"); }catch(Exception e){ System.out.println("Exception"): }finally{ System.Out.println("finally"); } } 如果sayHello方法正常运行,则test方法的运行结果将是()。
A.Hello
B.ArraylndexOutOfBondsException
C.Exception Finally
D.Hello Finally
第4题
(26 )阅读下列程序片段
Public void test(){
Try{
sayHello();
system.out.println(“ hello ” );
} catch (ArrayIndexOutOfBoundException e) {
System.out.println(“ ArrayIndexOutOfBoundException ” );
}catch(Exception e){
System.out.println(“ Exception ” );
}finally {
System.out.println(“ finally ” );
}
}
如果 sayHello() 方法正常运行,则 test() 方法的运行结果将是
A) Hello
B) ArrayIndexOutOfBondsException
C) Exception
Finally
D) Hello
Finally
第5题
阅读下列程序片段。如果sayHello()方法正常运行,则test()方法的运行结果将是()。
A.Hello
B.ArrayIndexOutOfBondsException
C.ExceptionFinally
D.HelloFinally
第6题
阅读下面程序 public void test() { try{ sayHello(); System.out.println("hello"); } catch(ArrayIndexOutOfBoundException e) { System.out.println("ArrayIndexOutOfBoundException"); } catch(Exception e) { System.out.println("Exception"); } finally { System.out.println("finally");} } 如果sayHello()方法正常运行,则test()方法的运行结果将是
A.Hello
B.ArraylndexOutOfBondsException
C.Exception Finally
D.Hello Finally
第7题
请阅读下面程序 import java.io.*; public class ExceptionCatch { public static void main(String args[]) { try{ FilelnputStream fis=new FilelnputStream("text"); System.out.println("content of text is:"); } catch(FileNotFoundException e) { System.out.println(e); System.out.println("message:"+e.getMessageO); e.printStackTrace(System.out); }____{ System.out.println(e); } } } 为保证程序正确运行,程序中下划线处的语句应是
A.catch(FilelnputStream fis)
B.e.printStackTrace()
C.catch(IOException e)
D.System.out.println(e)
第8题
请阅读下面程序 import java.io.*; public class ExceptionCatch { public static void main(String args[]) { try{ FilelnputStream fis=new FilelnputStream("text"); System.out.println("content of text is:"); } catch(FileNotFoundException e) { System.out.println(e); System.out.println("message:"+e.getMessageO); e.printStackTrace(System.out); }____{ System.out.println(e); } } } 为保证程序正确运行,程序中下划线处的语句应是
A.catch(FilelnputStream fis)
B.e.printStackTrace()
C.catch(IOException e)
D.System.out.println(e)
第9题
阅读下面程序 import java.io.*; public class ExceptionCatch { public static void main(String args[]) { try { FileInputStream fis=new FilelnputStream("text"); System.out.println("content of text is:"); } catch(FileNotFoundException e) { System.out.println(e); System.out.println("message:"+e.getMessage()); e.printStackTrace(System.out); } ______ { System.out.println(e); } } } 为保证程序正确运行,程序中下画线处的语句应是
A.catch(FileInputStream fis)
B.e printStackTrace()
C.catch(IOException e)
D.System.out.println(e)
第10题
(21 )请阅读下面程序
import java.io. *;
public class ExceptionCatch{
public static void main (String args[] ){
try {
FileInputStream fis=new FilelnputStream ("text" ) ;
System.out.pfntln ("content of text is : ” ):
} catch (FileNotFoundException e ){
System.out.println (e ) ;
System.out.println ("message:"+e.getMessageQ ) ;
e.printStackTrace (System.out ) ;
}____________;
{
System.out.println (e ) ;
}
}
}
为保证程序正确运行,程序中下划线处的语句应是
A ) catch (Fiie put eam s )
B ) e printStackTrace ()
C) catch (IOException e )
D) System.out.printin (e )
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!