亚洲国产日韩欧美在线a乱码,国产精品路线1路线2路线,亚洲视频一区,精品国产自,www狠狠,国产情侣激情在线视频免费看,亚洲成年网站在线观看

Java考試格林模擬習題

時間:2020-10-17 15:12:55 JAVA認證 我要投稿

Java考試格林模擬習題

  question 16)

Java考試格林模擬習題

  which of the following statements are true?

  1) methods cannot be overriden to be more private

  2) static methods cannot be overloaded

  3) private methods cannot be overloaded

  4) an overloaded method cannot throw exceptions not checked in the base class

  question 17)

  what will happen if you attempt to compile and run the following code?

  class base {}class sub extends base {}class sub2 extends base {}public class cex{ public static void main(string argv[]){ base b=new base(); sub s=(sub) b; }}

  1) compile and run without error

  2) compile time exception

  3) runtime exception

  question 18)

  which of the following statements are true?

  1) system.out.println( -1 >>> 2);will output a result larger than 10

  2) system.out.println( -1 >>> 2); will output a positive number

  3) system.out.println( 2 >> 1); will output the number 1

  4) system.out.println( 1 <<< 2); will output the number

【Java考試格林模擬習題】相關(guān)文章:

1.Java考試格林模擬試題

2.Java考試格林模擬題

3.Java考試格林練習題

4.Java考試格林練習試題

5.java考試習題及答案

6.2017年java考試模擬試題

7.Java筆試模擬試卷

8.司法考試沖刺模擬習題