亚欧洲精品在线观看,窝窝影院午夜看片,久久国产成人午夜av影院宅,午夜91,免费国产人成网站,ts在线视频,欧美激情在线一区

JAVA認(rèn)證

Java考試格林模擬習(xí)題

時間:2024-09-09 17:21:16 JAVA認(rèn)證 我要投稿
  • 相關(guān)推薦

Java考試格林模擬習(xí)題

  question 16)

Java考試格林模擬習(xí)題

  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考試格林模擬習(xí)題】相關(guān)文章:

JAVA模擬試題及答案07-10

2017年安全員考試模擬習(xí)題及答案06-23

監(jiān)理員考試專業(yè)實(shí)務(wù)模擬習(xí)題及答案09-05

2017年最新普通話考試模擬習(xí)題07-22

2017咨詢工程師考試模擬習(xí)題及答案10-02

2017證券從業(yè)資格考試模擬練習(xí)題10-10

2017管理咨詢師預(yù)測考試模擬習(xí)題及答案09-12

最新國際商務(wù)單證員考試模擬習(xí)題及答案10-22

2017質(zhì)檢員考試模擬練習(xí)題及答案08-02

2017管理咨詢師考試預(yù)測模擬習(xí)題及答案08-10