ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่ ศูนย์สอบ เพื่อเลือกแบบสอบใหม่
    1. Which of the following are equal 3? [j0092]
      13 >> 2
      13 << 2
      27 >> 1
      27 << 1
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    2. Which of the following are Java keywords? [j0046]
      exception
      Import
      package
      export
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    3. Which of the following are legal lines about StringBuffer class? [j0115]
      x.substring(5,2)
      x.toUpperCase()
      x.length()
      x.insert(4,"a")
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    4. How much is SHORT for primitive type? [j0023]
      8 bit
      16 bit
      32 bit
      64 bit
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    5. Which of the following are data type for switch? [j0094]
      double
      float
      short
      String
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    6. What is collection class? [j0058]
      ArrayList
      LinkList
      ThreeSet
      MapSet
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    7. Which of the following are in Object class? [j0121]
      wait()
      sleep()
      run()
      yield()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    8. Which of the following are illegal lines? [j0012]
      char a = 'a' + 'a';
      byte a = 'z' + 'z'
      int a = 10/3;
      byte a = 10/3;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    9. What will be printed out for the following code?
    System.out.println(0x022);
    [j0039]
      22
      18
      34
      Compilation fails
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    10. Which of the following are illegal lines about String class? [j0110]
      x.substring(5,2)
      x.concat
      x.length()
      x.replace("a","A")
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    11. What is access modifier? [j0055]
      java
      public
      void
      import
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    12. Which of the following are equal 3? [j0092]
      13 >> 2
      13 << 2
      27 >> 1
      27 << 1
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    13. Which of the following are data type for switch? [j0095]
      byte
      float
      String
      double
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    14. What is collection class? [j0061]
      SortedSet
      KeyMap
      TreeList
      TreeSet
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    15. Which of the following are illegal lines? [j0074]
      int [5] a;
      int [] aa [];
      int [][] a;
      int a[];
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    16. Which of the following are illegal lines? [j0006]
      int x = 1111;
      byte b = 127;
      boolean x = true;
      float a = 2.1;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    17. Which of the following are result of 3 | 5? [j0102]
      1
      3
      6
      7
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    18. Which of the following are legal identifiers? [j0020]
      joy
      -dang
      33
      class
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    19. What will be printed out for the following code?
    System.out.println(010);
    [j0032]
      8
      10
      Compilation fails
      An exception is thrown at runtime
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    20. What is access modifier? [j0055]
      java
      public
      void
      import
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    21. Which of the following are default method of default constructor? [j0125]
      super()
      run()
      this()
      start()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    22. What will be printed out for the following code?
    System.out.println(True);
    [j0028]
      true
      True
      Compilation fails
      An exception is thrown at runtime
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    23. Which of the following are result of 3 ^ 5? [j0103]
      1
      3
      6
      7
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    24. Which of the following are Java keywords? [j0046]
      exception
      Import
      package
      export
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    25. Which of the following are result of Math.floor(8.4)? [j0120]
      8
      8.5
      9
      10
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    26. Which of the following are illegal lines about String class? [j0111]
      x.trim()
      x.concat
      x.length()
      x.replace("a","A")
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    27. What is access modifier? [j0055]
      java
      public
      void
      import
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    28. Which of the following are data type for switch? [j0094]
      double
      float
      short
      String
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    29. Which of the following are illegal lines? [j0073]
      int [] a;
      int [] a [];
      int [][] a;
      int a[5];
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    30. What will be printed out for the following code?
    System.out.println(0x0011);
    [j0037]
      1
      11
      16
      17
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก

ปรับปรุง : 2564-02-12
.