• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. Java考試格林練習(xí)試題

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

        Java考試格林練習(xí)試題

          question 6)

        Java考試格林練習(xí)試題

          which of the following are keywords or reserved words in java?

          1) if

          2) then

          3) goto

          4) while

          5) case

          question 7)

          which of the following are legal identifiers

          1) 2variable

          2) variable2

          3) _whatavariable

          4) _3_

          5) $anothervar

          6) #myvar

          question 8)

          what will happen when you compile and run the following code?

          public class myclass{ static int i; public static void main(string argv[]){ system.out.println(i); }}

          1) error variable i may not have been initialized

          2) null

          3) 1

          4) 0

          question 9)

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

          public class q { public static void main(string argv[]){ int anar[]=new int[]{1,2,3}; system.out.println(anar[1]); }}

          1) 1

          2) error anar is referenced before it is initialized

          3) 2

          4) error: size of array must be defined

          question 10)

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

          public class q { public static void main(string argv[]){ int anar[]=new int[5]; system.out.println(anar[0]); }}

          1) error: anar is referenced before it is initialized

          2) null

          3) 0

          4) 5

        《&.doc》
        将本文的Word文档下载到电脑,方便收藏和打印
        推荐度:
        点击下载文档

        【Java考試格林練習(xí)試題】相關(guān)文章:

        Java考試格林模擬試題10-22

        Java考試格林練習(xí)題07-18

        華為JAVA考試試題11-01

        java考試試題及答案10-25

        java認(rèn)證考試試題及答案07-21

        2017年java考試模擬試題05-31

        出版考試初級練習(xí)試題10-25

        2016年Java認(rèn)證考試題09-23

        2017年Java認(rèn)證考試試題07-23

        2017年JAVA考試試題及答案08-30

        在线咨询
        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 最新国产·精品更多 | 中文字幕日韩第一页 | 亚州另类欧美综合一区 | 中文字幕一区2区3区乱码在线 | 中文不打码网站 | 无遮挡高潮国产免费观看 |

            Java考試格林練習(xí)試題

              question 6)

            Java考試格林練習(xí)試題

              which of the following are keywords or reserved words in java?

              1) if

              2) then

              3) goto

              4) while

              5) case

              question 7)

              which of the following are legal identifiers

              1) 2variable

              2) variable2

              3) _whatavariable

              4) _3_

              5) $anothervar

              6) #myvar

              question 8)

              what will happen when you compile and run the following code?

              public class myclass{ static int i; public static void main(string argv[]){ system.out.println(i); }}

              1) error variable i may not have been initialized

              2) null

              3) 1

              4) 0

              question 9)

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

              public class q { public static void main(string argv[]){ int anar[]=new int[]{1,2,3}; system.out.println(anar[1]); }}

              1) 1

              2) error anar is referenced before it is initialized

              3) 2

              4) error: size of array must be defined

              question 10)

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

              public class q { public static void main(string argv[]){ int anar[]=new int[5]; system.out.println(anar[0]); }}

              1) error: anar is referenced before it is initialized

              2) null

              3) 0

              4) 5