ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา - ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น - นักวิทยุสมัครเล่น - จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ศัพท์200 - ทั่วไป.ศิริรุ่ง
แบบทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 30 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. Which of the following are equal 3? [j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ผิดทุกตัวเลือก

2. Which of the following are illegal lines about String class? [j0112]
x.substring(5,2)
x.toUpperCase()
x.length()
x.replace("a","A","")
ผิดทุกตัวเลือก

3. Which of the following are illegal lines? [j0007]
int x = 1;
byte b = 127;
boolean x = 0;
float a = 2.1f;
ผิดทุกตัวเลือก

4. What will be printed out for the following code?
System.out.println(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก

5. Which of the following are Java keywords? [j0049]
standard
jsp
while
loop
ผิดทุกตัวเลือก

6. What collection class is ordered by index? [j0070]
ArrayList
HashTable
HashMap
SortedSet
ผิดทุกตัวเลือก

7. Which of the following are equal 3? [j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ผิดทุกตัวเลือก

8. Which of the following are illegal lines about String class? [j0112]
x.substring(5,2)
x.toUpperCase()
x.length()
x.replace("a","A","")
ผิดทุกตัวเลือก

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(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก

11. Which of the following are Java keywords? [j0049]
standard
jsp
while
loop
ผิดทุกตัวเลือก

12. What collection class is ordered by index? [j0070]
ArrayList
HashTable
HashMap
SortedSet
ผิดทุกตัวเลือก

13. Which of the following are equal 3? [j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ผิดทุกตัวเลือก

14. Which of the following are illegal lines about String class? [j0112]
x.substring(5,2)
x.toUpperCase()
x.length()
x.replace("a","A","")
ผิดทุกตัวเลือก

15. Which of the following are illegal lines? [j0007]
int x = 1;
byte b = 127;
boolean x = 0;
float a = 2.1f;
ผิดทุกตัวเลือก

16. What will be printed out for the following code?
System.out.println(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก

17. Which of the following are Java keywords? [j0049]
standard
jsp
while
loop
ผิดทุกตัวเลือก

18. What collection class is ordered by index? [j0070]
ArrayList
HashTable
HashMap
SortedSet
ผิดทุกตัวเลือก

19. Which of the following are equal 3? [j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ผิดทุกตัวเลือก

20. Which of the following are illegal lines about String class? [j0112]
x.substring(5,2)
x.toUpperCase()
x.length()
x.replace("a","A","")
ผิดทุกตัวเลือก

21. Which of the following are illegal lines? [j0007]
int x = 1;
byte b = 127;
boolean x = 0;
float a = 2.1f;
ผิดทุกตัวเลือก

22. What will be printed out for the following code?
System.out.println(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก

23. Which of the following are Java keywords? [j0049]
standard
jsp
while
loop
ผิดทุกตัวเลือก

24. What collection class is ordered by index? [j0070]
ArrayList
HashTable
HashMap
SortedSet
ผิดทุกตัวเลือก

25. Which of the following are equal 3? [j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ผิดทุกตัวเลือก

26. Which of the following are illegal lines about String class? [j0112]
x.substring(5,2)
x.toUpperCase()
x.length()
x.replace("a","A","")
ผิดทุกตัวเลือก

27. Which of the following are illegal lines? [j0007]
int x = 1;
byte b = 127;
boolean x = 0;
float a = 2.1f;
ผิดทุกตัวเลือก

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 Java keywords? [j0049]
standard
jsp
while
loop
ผิดทุกตัวเลือก

30. What collection class is ordered by index? [j0070]
ArrayList
HashTable
HashMap
SortedSet
ผิดทุกตัวเลือก