ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่ ศูนย์สอบ เพื่อเลือกแบบสอบใหม่
    1. Which of the following are illegal lines? [j0082]
      strictfp class a{ }
      final class a{ }
      public class a{ }
      transient class a{ }
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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


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


    13. Which of the following are Java keywords? [j0046]
      exception
      Import
      package
      export
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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


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


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


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


    27. What will be printed out for the following code?
    System.out.println(0x0010);
    [j0036]
      0
      10
      16
      100
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


    30. Which of the following are in Object class? [j0121]
      wait()
      sleep()
      run()
      yield()
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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

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