ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (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 illegal lines? [j0080]
      class a{ }
      final class a{ }
      public class a{ }
      import class a{ }
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


    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 lines? [j0074]
      int [5] a;
      int [] aa [];
      int [][] a;
      int a[];
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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


    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 in Object class? [j0122]
      sleep()
      notify()
      thread()
      join()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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

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