ข้อสอบ ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ ทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่ ศูนย์สอบ เพื่อเลือกแบบสอบใหม่
    1. Which of the following are illegal lines? [j0006]
      int x = 1111;
      byte b = 127;
      boolean x = true;
      float a = 2.1;
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


    9. Which of the following are legal lines? [j0085]
      System.Out.println();
      System.out.println();
      System.out.Println();
      System.Out.Println();
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


    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 is collection class? [j0064]
      MapSet
      KeyMap
      LinkedHashSet
      ThreeSet
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


    18. Which of the following are Java keywords? [j0043]
      object
      binary
      strictfp
      include
      ยังไม่เลือก
    ค่อย ๆ คิด อย่าใจร้อนครับ


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


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


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


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


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


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


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


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


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


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


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


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


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

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