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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


    26. Which of the following are Java keywords? [j0040]
      java
      mail
      extend
      const
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


    27. Which of the following are Java keywords? [j0044]
      and
      difference
      header
      volatile
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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

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