ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่ ศูนย์สอบ เพื่อเลือกแบบสอบใหม่
    1. What will be printed out for the following code?
    System.out.println(TRUE);
    [j0029]
      true
      TRUE
      Compilation fails
      An exception is thrown at runtime
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    2. Which of the following are illegal lines? [j0078]
      integer a = 1;
      double a = 1;
      long a = 1;
      float a = 1;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


    7. Which of the following are Java keywords? [j0041]
      jvm
      native
      Goto
      integer
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    9. Which of the following are illegal identifiers? [j0018]
      yonok
      joy
      $aa
      2005year
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


    16. Which of the following are Java keywords? [j0042]
      goto
      Byte
      Class
      method
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    17. Which of the following are illegal lines? [j0002]
      int x = -129;
      byte b = -128;
      float a = 5.5;
      boolean x = true;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


    24. What collection class is ordered by index? [j0070]
      ArrayList
      HashTable
      HashMap
      SortedSet
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


    28. Which of the following are Java keywords? [j0042]
      goto
      Byte
      Class
      method
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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

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