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


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


    3. Which of the following are default method of default constructor? [j0126]
      start()
      run()
      this()
      super()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


    21. Which of the following are equal 12? [j0090]
      11 >> 2
      11 << 2
      25 >> 1
      25 << 1
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


    26. Which of the following are in Object class? [j0122]
      sleep()
      notify()
      thread()
      join()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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

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