1. <tt id="5hhch"><source id="5hhch"></source></tt>
    1. <xmp id="5hhch"></xmp>

  2. <xmp id="5hhch"><rt id="5hhch"></rt></xmp>

    <rp id="5hhch"></rp>
        <dfn id="5hhch"></dfn>

      1. Sun認(rèn)證重點(diǎn)試題

        時(shí)間:2023-03-27 04:47:13 SUN認(rèn)證 我要投稿
        • 相關(guān)推薦

        2016年Sun認(rèn)證重點(diǎn)試題

          Sun公司推出了Java以及Solaris技術(shù)認(rèn)證方案。對(duì)于企業(yè)而言,可以借助這項(xiàng)認(rèn)證作為招聘人才的評(píng)判標(biāo)準(zhǔn),或是作為衡量員工技術(shù)水準(zhǔn)的依據(jù);在個(gè)人方面,通過這些認(rèn)證也可以證明個(gè)人的技術(shù)能力。下面是最新的sun認(rèn)證考試題及答案,希望能幫助到大家!

        2016年Sun認(rèn)證重點(diǎn)試題

          1.寫出此程序的輸出結(jié)果.

          class Test_For

          {

          public static void main(String[] args)

          {

          int i=0;

          for(show('A'); show('B')&&(i<2);show('C'))

          {

          i++;

          show('D');

          }

          }

          public static boolean show(char ch)

          {

          System.out.print(ch);

          return true;

          }

          }

          2.寫出此程序的輸出結(jié)果.

          class Demo

          {

          public static void main(String[] args)

          {

          int a=3,b=8;

          int c=(a>b)?a++:b++;

          System.out.println("a="+a+"\tb="+b+"\tc+"+c);

          int d=(a>b)?++a:++b;

          System.out.println("a="+a+"\tb="+b+"\tc+"+d);

          int e=(a

          System.out.println("a="+a+"\tb="+b+"\tc+"+e);

          int f=(a

          System.out.println("a="+a+"\tb="+b+"\tc+"+f);

          }

          }

          3.寫出此程序的輸出結(jié)果.

          class Demo

          {

          public static void main(String []args)

          {

          int i = 0, j = 5;

          tp: for (;;)

          {

          i++;

          for(;;)

          if(i > j--) break tp;

          }

          System.out.println("i = " + i + ", j = "+ j);

          }

          }

          4.寫出此程序的輸出結(jié)果.

          class DemoWhile_3

          {

          public static void main(String[] args)

          {

          int x=1;

          while(x<10)

          {

          wx:while(x<7)

          {

          while(x<4)

          {

          System.out.print("A ");

          x++;

          break wx;

          }

          System.out.print("B ");

          x++;

          }

          System.out.print("C ");

          x++;

          }

          }

          }

          5.選擇正確答案:

          class Test

          {

          public static void main(String[] args)

          {

          String foo=args[1];

          String bar=args[2];

          String baz=args[3];

          }

          }

          d:\>java Test Red Green Blue

          what is the value of baz?

          A. baz has value of ""

          B. baz has value of null

          C. baz has value of "Red"

          D. baz has value of "Blue"

          E. baz has value of "Green"

          F. the code does not compile

          G. the program throw an exception

          6.寫出輸出結(jié)果.

          class Demo

          {

          public static void main(String[] args)

          {

          show(0);

          show(1);

          }

          public static void show(int i)

          {

          switch(i)

          {

          default:

          i+=2;

          case 1:

          i+=1;

          case 4:

          i+=8;

          case 2:

          i+=4;

          }

          System.out.println("i="+i);

          }

          }

        【Sun認(rèn)證重點(diǎn)試題】相關(guān)文章:

        Sun國(guó)際認(rèn)證09-04

        sun認(rèn)證:java程序設(shè)計(jì)考試試題08-20

        SUN-Java認(rèn)證考試題庫(kù)05-19

        SUN認(rèn)證考試科目06-03

        SUN認(rèn)證考試項(xiàng)目06-03

        sun認(rèn)證報(bào)考指南08-27

        SUN認(rèn)證考試流程06-10

        sun認(rèn)證考試的作用05-29

        Sun認(rèn)證考試類型05-29

        sun java認(rèn)證報(bào)考指南08-26

        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码

        1. <tt id="5hhch"><source id="5hhch"></source></tt>
          1. <xmp id="5hhch"></xmp>

        2. <xmp id="5hhch"><rt id="5hhch"></rt></xmp>

          <rp id="5hhch"></rp>
              <dfn id="5hhch"></dfn>