亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 困難.txt

?? 這是一個java編寫的c/s模式在線考試系統
?? TXT
字號:
第1題: 
String s= "hello "; 
String t = "hello"; 
char c[] = {’h’,’e’,’l’,’l’,’o’} ; 
Which return true? 
A. s.equals(t); 
B. t.equals(c); 
C. s==t; 
D. t.equals(new String("hello")); 
E. t==c. 
***
第2題:
Which of the following statements are legal?
A. long l = 4990;
B. int  i = 4L;
C. float f = 1.1;
D. double d = 34.4;
E. double t = 0.9F.
***
第3題:
public class Parent {
     int change() {…}
   }
   class Child extends Parent {
   
   }
Which methods can be added into class Child?
A. public int change(){}
B. int chang(int i){}
C. private int change(){}
D. abstract int chang(){}
***
第4題:
class Parent {
     String one, two;
     public Parent(String a, String b){
        one = a;
        two = b;
     }
     public void print(){ System.out.println(one); }
   }
   public class Child extends Parent {
      public Child(String a, String b){
        super(a,b);
      }
      public void print(){ 
           System.out.println(one + " to " + two);
      }
      public static void main(String arg[]){
           Parent p = new Parent("south", "north");           
           Parent t = new Child("east", "west");
           p.print();
           t.print();
      }
   }
Which of the following is correct?
A. Cause error during compilation.
B. south
   east
C. south to north
   east to west
D. south to north
   east
E. south
   east to west
***
第5題:
A Button is positioned in a Frame. Only height of the Button is affected by the Frame while the width is not. Which layout manager should be used?
A. FlowLayout
B. CardLayout
C. North and South of BorderLayout
D. East and West of BorderLayout
E. GridLayout
***
第6題:
Given the following code:
    1)   class Parent {
    2)     private String name;
    3)     public Parent(){}
    4)   }
    5)   public class Child extends Parent {
    6)     private String department;
    7)     public Child() {}
    8)     public String getValue(){ return name; }
    9)     public static void main(String arg[]) {
    10)       Parent p = new Parent();
    11)    }
    12)  }
Which line will cause error?
A. line 3
B. line 6
C. line 7
D. line 8
E. line 10
***
第7題:
The variable "result" is boolean. Which expressions are legal?
A. result = true;
B. if ( result ) { // do something... }
C. if ( result!= 0 ) { // so something... }
D. result = 1
***
第8題:
Class Teacher and Student are subclass of class Person.
    Person p;
    Teacher t;
    Student s;
    p, t and s are all non-null.
    if(t instanceof Person) {  s = (Student)t; }
What is the result of this sentence?
A. It will construct a Student object.
B. The expression is legal.
C. It is illegal at compilation.
D. It is legal at compilation but possible illegal at runtime.
***
第9題:
Given the following class:
    public class Sample{
       long length;
       public Sample(long l){ length = l; }
       public static void main(String arg[]){
          Sample s1, s2, s3;
          s1 = new Sample(21L);
          s2 = new Sample(21L);    
          s3 = s2;
          long m = 21L;
       }
    }
Which expression returns true?
A. s1 == s2;
B. s2 == s3;
C. m == s1;
D. s1.equals(m).
***
第10題:
Given the following expression about List.
      List l = new List(6,true);
Which statements are ture?
A. The visible rows of the list is 6 unless otherwise constrained.
B. The maximum number of characters in a line  will be 6.
C. The list allows users to make multiple selections
D. The list can be selected only one item.
***
第11題:
Given the following code:
    class Person {
       String name,department;
       public void printValue(){ 
          System.out.println("name is "+name);
          System.out.println("department is "+department);
       }
    }
    public class Teacher extends Person {
       int salary;
       public void printValue(){
          // doing the same as in the parent method printValue()
          // including print the value of name and department.
          System.out.println("salary is "+salary);
       }
    }
Which expression can be added at the "doing the same as..." part of the method printValue()?
A. printValue();
B. this.printValue();
C. person.printValue();
D. super.printValue().
***
第12題:
Which is not a method of the class InputStream?
A. int read(byte[])
B. void flush()
C. void close()
D. int available()
***
第13題:
Which class is not subclass of FilterInputStream?
A. DataInputStream
B. BufferedInputStream
C. PushbackInputStream
D. FileInputStream
***
第14題:
Which classes can be used as the argument of the constructor of the class FileInputStream?
A. InputStream
B. File
C. FileOutputStream
D. String
***
第15題:
Which classes can be used as the argument of the constructor of the class FilterInputStream?
A. FilterOutputStream
B. File
C. InputStream
D. RandomAccessFile
***
第16題:
Given the following code fragment:
1) switch(m)
2) { case 0: System.out.println("case 0");
3)   case 1: System.out.println("case 1"); break;
4)   case 2:
5)   default: System.out.println("default");
6) }
Which value of m would cause "default" to be the output?
A. 0
B. 1
C. 2
D. 3
***
第17題:
Given the uncompleted method:
1)
2) { success = connect();
3) if (success==-1) {
4)   throw new TimedOutException();
5) }
6)}
TimedOutException is not a RuntimeException.  Which can complete the method of declaration when added at line 1?
A. public void method()
B. public void method() throws Exception
C. public void method() throws TimedOutException
D. public void method() throw TimedOutException
E. public throw TimedOutException void method()
***
第18題:
Which of the following answer is correct to express the value 10 in hexadecimal number?
A. 0xA
B. 0x16
C. 0A
D. 016
***
第19題:
Which statements about thread are true?
A. Once a thread is created, it can star running immediately.
B. To use the start() method makes a thread runnable, but it does not necessarily start immediately.
C. When a thread stops running because of pre-emptive, it is placed at the front end of the runnable queue.
D. A thread may cease to be ready for a variety of reasons.
***
第20題:
The method resume() is responsible for resuming which thread's execution?
A. The thread which is stopped by calling method stop()
B. The thread which is stopped by calling method sleep()
C. The thread which is stopped by calling method wait()
D. The thread which is stopped by calling method suspend()

***
第21題:
Given the following code:
1) public class Test {
2)    int m, n;
3)    public Test() {}
4)    public Test(int a) { m=a; }
5)    public static void main(String arg[]) {
6)       Test t1,t2;
7)       int j,k;
8)       j=0; k=0;
9)       t1=new Test();
10)       t2=new Test(j,k);
11)     }
12) }
Which line would cause one error during compilation?
A. line 3
B. line 5
C. line 6
D. line 10
***

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜日韩在线电影| 国产精品嫩草99a| 欧美色男人天堂| 91福利在线播放| 91麻豆国产福利在线观看| 成人av资源在线观看| 成人午夜激情影院| 色视频成人在线观看免| 欧美中文字幕亚洲一区二区va在线| 91污片在线观看| 欧美午夜片在线看| 欧美一区二区啪啪| 国产亚洲一二三区| 国产精品久久久久国产精品日日| 最新日韩av在线| 亚洲成人自拍偷拍| 久久精品国产免费| 成人激情校园春色| 欧美午夜在线观看| 精品久久久久久久人人人人传媒| 久久久亚洲精品石原莉奈| 国产精品不卡视频| 视频一区在线视频| 国产一区久久久| 99re热这里只有精品视频| 欧美日韩亚洲综合在线| 精品av久久707| 亚洲黄色在线视频| 精品一区二区日韩| 97久久精品人人做人人爽50路| 欧美日韩免费观看一区二区三区 | 国产一区二区三区久久久| 懂色中文一区二区在线播放| 欧美亚男人的天堂| 欧美精品一区二区三区蜜桃视频 | 5858s免费视频成人| 欧美精品一区二区三区一线天视频| 国产精品久久久久三级| 亚洲丰满少妇videoshd| 国产不卡免费视频| 欧美一区在线视频| 亚洲精品一二三四区| 激情综合色综合久久综合| 91久久精品一区二区三区| 2021中文字幕一区亚洲| 亚洲国产aⅴ成人精品无吗| 国产精品1区2区3区在线观看| 欧美性受xxxx| 亚洲视频一区二区在线观看| 经典三级视频一区| 日韩一级大片在线观看| 一区二区三区 在线观看视频| 国产成人综合亚洲网站| 欧美一区二区三区啪啪| 一区二区三区免费观看| www.99精品| 久久久三级国产网站| 麻豆久久久久久| 51久久夜色精品国产麻豆| 成人永久看片免费视频天堂| 日韩欧美高清dvd碟片| 亚洲成人在线免费| 在线观看视频91| 亚洲蜜臀av乱码久久精品蜜桃| 国产成人av一区| 久久综合中文字幕| 国产麻豆午夜三级精品| 欧美va亚洲va国产综合| 看电影不卡的网站| 日韩欧美二区三区| 韩国中文字幕2020精品| 精品久久久网站| 国产成人啪免费观看软件| 久久一日本道色综合| 国产精品2024| 亚洲天堂中文字幕| 色婷婷亚洲综合| 一区二区在线看| 欧美日韩中文一区| 日日摸夜夜添夜夜添亚洲女人| 欧美日韩激情一区二区三区| 天堂一区二区在线| 欧美一区永久视频免费观看| 麻豆高清免费国产一区| 日韩精品在线看片z| 国精品**一区二区三区在线蜜桃| 26uuu色噜噜精品一区二区| 国产福利视频一区二区三区| 中文字幕高清不卡| 一本大道综合伊人精品热热| 亚洲成人av福利| 精品人伦一区二区色婷婷| 国产成人在线电影| 亚洲欧美区自拍先锋| 欧美精品一卡两卡| 精品一区二区三区在线播放| 国产精品久久久久久户外露出 | 欧美精品亚洲一区二区在线播放| 蜜臀av一区二区| 国产欧美一区二区精品秋霞影院| 成人av免费在线观看| 一区二区欧美精品| 亚洲精品在线电影| 91香蕉国产在线观看软件| 丝袜亚洲另类丝袜在线| 久久精品一区八戒影视| 欧美色视频在线观看| 精一区二区三区| 亚洲女同一区二区| 欧美电视剧免费观看| 色综合久久久久网| 精品一区二区综合| 亚洲一卡二卡三卡四卡五卡| www久久精品| 欧美日韩一级二级| 国产成人丝袜美腿| 蜜臀av性久久久久蜜臀aⅴ | 久久国产精品99久久人人澡| 中文字幕一区二区三区在线播放| 欧美一区二区三级| 色国产精品一区在线观看| 国产在线精品不卡| 日韩电影在线观看网站| 国产精品久久久久久久久免费樱桃| 欧美另类久久久品| 97久久超碰精品国产| 欧美精选一区二区| 在线区一区二视频| 不卡视频免费播放| 激情小说欧美图片| 日韩av一级片| 亚洲一区二区美女| 亚洲天堂a在线| 国产精品视频一区二区三区不卡| 日韩精品一区二区三区老鸭窝| 在线日韩av片| 91久久精品网| 91精品福利视频| 91免费看片在线观看| 成人高清在线视频| 国产91丝袜在线播放| 激情五月婷婷综合| 韩国v欧美v日本v亚洲v| 久久av资源网| 毛片一区二区三区| 欧美bbbbb| 日本亚洲免费观看| 奇米精品一区二区三区四区| 五月天一区二区| 天天免费综合色| 秋霞电影网一区二区| 日本aⅴ免费视频一区二区三区 | 国产精品99久久久久久久女警| 久久精品99久久久| 国产一区 二区 三区一级| 久久99热国产| 国产九色sp调教91| 99久久久久久99| 在线观看国产91| 欧美日韩国产a| 欧美一区二区视频观看视频 | 国产精品毛片高清在线完整版| 久久精品欧美一区二区三区不卡| 天天影视色香欲综合网老头| 亚洲成人黄色小说| 日韩av一二三| 久久 天天综合| 成人网页在线观看| 欧美亚男人的天堂| 日韩午夜精品视频| 久久奇米777| 亚洲欧美综合另类在线卡通| 一区二区三区高清在线| 日本va欧美va精品| 成人综合婷婷国产精品久久免费| 99久久久久免费精品国产 | 久久久久国产精品麻豆| 中文字幕一区二区三区在线观看| 亚洲一区在线免费观看| 麻豆91在线看| 91免费视频观看| 精品少妇一区二区三区在线播放| 国产精品卡一卡二卡三| 亚洲精品大片www| 国内国产精品久久| 色菇凉天天综合网| 久久综合久久久久88| 亚洲麻豆国产自偷在线| 美国十次综合导航| 色噜噜狠狠成人中文综合| 日韩精品一区二区三区在线观看| 欧美国产一区视频在线观看| 亚洲国产三级在线| 成人av电影免费观看| 日韩欧美一区二区免费| 一区二区三区毛片| 成人av网址在线观看| 精品国产91乱码一区二区三区| 亚洲资源在线观看| 成人国产精品免费观看视频|