亚洲喷奶水中文字幕电影,日本aⅴ高清一区二区三区,欧美亚洲日本国产,欧美日韩亚洲中文字幕

<legend id="flx4p"><abbr id="flx4p"><thead id="flx4p"></thead></abbr></legend>

<mark id="flx4p"><thead id="flx4p"></thead></mark>

      Android面試題目附答案

        附帶答案,共100分

        一、選擇題(30題,每題1.5分,共45分)

        1.java.io包中定義了多個流類型來實現(xiàn)輸入和輸出功能,可以從不同的角度對其進行分 類,按功能分為:(c),如果為讀取的內(nèi)容進行處理后再輸出,需要使用下列哪種流?(g)

        A、輸入流和輸出流 B、字節(jié)流和字符流 C、節(jié)點流和處理流

        D、File stream E、Pipe stream F、Random stream G、Filter stream

        2.下列代碼的執(zhí)行結(jié)果是:(b)

        public class Test3{

        public static void main(String args[]){

        System.out.print(100%3);

        System.out.print(“,”);

        System.out.println(100%3.0);

        }

        }

        A、1,1

        B、1,1.0

        C、1.0,1

        D、1.0,1.0

        3.在繼承中,關(guān)于構(gòu)造方法的說明,下列說法錯誤的是(d)

        A、子類無條件的繼承父類的無參構(gòu)造方法,

        B、子類可以引用父類中的有參構(gòu)造方法,使用super關(guān)鍵字,

        C、如果子類沒有構(gòu)造方法,則父類無參構(gòu)造方法作為自已的構(gòu)造方法,

        D、如果子類有無參構(gòu)造方法,而父類的無參構(gòu)造方法則被覆蓋。

        4.以下程序的運行結(jié)果為( b)

        public class IfTest{

        public static void main(String args[]){

        int x=3;

        int y=1;

        if(x==y)

        System.out.println(“Not equal”);

        else

        System.out.println(“Equal”);

        }

        }

        A、Not equal B、Equal C、無輸出 D、編譯出錯

        5.Java語言中字符串“學Java”所占的內(nèi)存空間是(a)

        A. 6個字節(jié)

        B. 7個字節(jié)

        C. 10個字節(jié)

        D. 11個字節(jié)

        6.關(guān)于下列程序段的輸出結(jié)果,說法正確的是:(d )

        public class MyClass{

        static int i;

        public static void main(String argv[]){

        System.out.println(i);

        }

        }

        

      本文已影響6827
      上一篇:常見經(jīng)典面試問題回答思路 下一篇:萬達寶軟件系統(tǒng)管理員面試題目

      相關(guān)文章推薦

      |||||