ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่ ศูนย์สอบ เพื่อเลือกแบบสอบใหม่
    1. What collection class is sorted? [j0068]
      TreeList
      TreeMap
      MapSet
      HashTable
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    2. Which of the following are false? [j0097]
      7 != 6
      5.0 == 5L
      true == false
      'a' == 'a'
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


    6. Which of the following are illegal lines? [j0075]
      int [] ok;
      int [] bye [];
      int [][] case;
      int test[];
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


    10. Which of the following are Java keywords? [j0045]
      For
      private
      main
      args
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


    17. Which of the following are default method of runnable? [j0123]
      begin()
      open()
      run()
      start()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


    21. Which of the following are illegal lines? [j0076]
      int a = 1;
      int a[] = {"1"};
      int a[] = {1,2,3};
      int a[] = {1};
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


    24. Which of the following are legal identifiers? [j0019]
      _tom
      -dang
      123
      ?abc
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    26. Which of the following are result of 4 & 6? [j0105]
      1
      2
      4
      6
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    28. Which of the following are illegal lines? [j0088]
      void method () { }
      void excite (int a) { }
      int outpro (true a) { }
      void byebye (int a) { }
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    30. Which of the following are illegal lines? [j0015]
      char a = '&';
      char a = 0;
      char a = 09;
      char a = 99;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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

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