聯(lián)系客服微信掃一掃關(guān)注公眾號后聯(lián)系客服
      掃碼練習(xí)微信掃碼免費(fèi)搜題
      • 首頁

      • 網(wǎng)課

      • 桌面端

      • 搜標(biāo)題
      • 搜題干
      • 搜選項(xiàng)
      單項(xiàng)選擇題

      public class TestA{ 
        public void methodA() throws IOException{       
      //…… 
        } } 
      public class TestB extends TestA{ 
        public void methodA() throws EOFException{       
      //……   } } 
      public class TestC extends TestA{ 
        public void methodA() throws Exception{       
      //……   } } 
      當(dāng)編譯類TestC的時(shí)候,結(jié)果是哪項(xiàng)?() 

      A. 正常
      B. 編譯錯(cuò)誤
      C. 運(yùn)行錯(cuò)誤
      D. 以上都不對

      題目列表

      你可能感興趣的試題

      • 單項(xiàng)選擇題

        public class TestApp{   
        public int mymethod(){       
        try{ 
        int i = 0;          
        int j = 1 / i; 
        System.out.println(“1”);       
         }finally{ 
        System.out.print(“4”);       } 
        return 1;   } } 
        上述程序運(yùn)行后的輸出是哪項(xiàng)?() 

        A. 4
        B. 14
        C. 41
        D. 以上都不對

      • 單項(xiàng)選擇題

        public class TestApp{ 
        public static void main(String[] args){       
        try{ 
        int i = 0;          
        int j = 1 / i; 
        System.out.println(“1”);       
        }catch(Exception e){             
        System.out.print(“3”);       }finally{ 
        System.out.print(“4”);       }   } } 
        上述程序運(yùn)行后的輸出是哪項(xiàng)?() 

        A. 4
        B. 34
        C. 43
        D. 14

      掃碼聯(lián)系掃碼聯(lián)系在線客服
      反饋使用問題
      掃碼練習(xí)掃碼使用小程序
      手機(jī)掃碼

      版權(quán)所有?考試資料網(wǎng)(ppkao.com) All Rights Reserved

      • 聯(lián)系客服
      • 小程序
      • 桌面端下載
      • 回到頂部

      感谢您访问我们的网站,您可能还对以下资源感兴趣:

      国产福利小视频尤物98