ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่ ศูนย์สอบ เพื่อเลือกแบบสอบใหม่
    1. Which of the following are illegal lines? [j0003]
      int x = 1;
      byte b = 128;
      float a = 5;
      boolean x = true;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    3. Which of the following are Java keywords? [j0043]
      object
      binary
      strictfp
      include
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    5. What is access modifier? [j0051]
      import
      private
      try
      javac
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


    8. Which of the following are illegal lines? [j0080]
      class a{ }
      final class a{ }
      public class a{ }
      import class a{ }
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    9. What is access modifier? [j0057]
      args
      protected
      class
      void
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


    14. Which of the following are false? [j0100]
      'false' == 'false'
      55.0 == 55L
      10 != 10.1
      true == false
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


    17. What is collection class? [j0060]
      LinkList
      TreeList
      HashMap
      OrderedList
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


    24. What collection class is sorted? [j0069]
      TreeList
      HashTable
      TreeSet
      HashMap
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    25. Which of the following are legal lines for instance variables? [j0086]
      can be marked final
      can be marked transient
      can be marked public
      can be marked strictfp
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


    29. Which of the following are illegal lines? [j0079]
      abstract Class a{ }
      final class a{ }
      public class a{ }
      class a{ }
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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

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