试题详情
单项选择题 public class TestApp{  public static void main(String[] args){       try{  int i = 0;           int j = 1 / i;           String myname=null;            if(myname.length()>2)              System.out.print(“1”);        }catch(NullPointerException e){  System.out.print(“2”);       }  catch(Exception e){  System.out.print(“3”);       }   } }  上述程序运行后的输出是哪项?()

A、 3

B、 2

C、 231

D、 32

  • A
  • 关注下方微信公众号,在线模考后查看

热门试题