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


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


    3. Which of the following are Java keywords? [j0049]
      standard
      jsp
      while
      loop
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


    7. Which of the following are illegal identifiers? [j0021]
      123a
      a123
      method
      index
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    8. What will be printed out for the following code?
    System.out.println(0021);
    [j0034]
      2
      17
      21
      2100
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


    15. 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
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    16. Which of the following are ilegal identifiers? [j0017]
      abc
      class
      method
      var
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


    26. Which of the following are illegal identifiers? [j0021]
      123a
      a123
      method
      index
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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

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