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


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


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


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


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


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


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


    8. Which of the following are result of 3 | 5? [j0102]
      1
      3
      6
      7
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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


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


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


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


    22. What collection class is ordered by index? [j0072]
      TreeList
      HashTable
      LinkedList
      MapSet
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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

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