ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก)
-
ความรู้ทั่วไป ชุดประเทศไทย
-
สังคมระดับมัธยมถึงปริญญา
-
ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น
-
นักวิทยุสมัครเล่น
-
จังหวัด รหัสไปรษณีย์
-
Visual Basic
-
JAVA
-
ศัพท์200
-
ทั่วไป.ศิริรุ่ง
แบบทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ผิดทุกตัวเลือก
2. What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก
3. Which of the following are Java keywords?
[j0041]
jvm
native
Goto
integer
ผิดทุกตัวเลือก
4. What is access modifier?
[j0050]
protected
void
class
args
ผิดทุกตัวเลือก
5. What is collection class?
[j0059]
TreeList
LinkedHashMap
MapSet
SortedSet
ผิดทุกตัวเลือก
6. What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ผิดทุกตัวเลือก
7. Which of the following are illegal lines?
[j0077]
int a = 1;
int a[] = {1};
int a[] = {1,2,3};
int a[] = {"1","2"};
ผิดทุกตัวเลือก
8. Which of the following are legal lines for instance variables?
[j0086]
can be marked final
can be marked transient
can be marked public
can be marked strictfp
ผิดทุกตัวเลือก
9. Which of the following are data type for switch?
[j0095]
byte
float
String
double
ผิดทุกตัวเลือก
10. Which of the following are result of 4 & 6?
[j0104]
1
2
4
6
ผิดทุกตัวเลือก
11. Which of the following are illegal lines about String class?
[j0113]
x.substring(5,2)
x.toString()
x.length("abc")
x.replace("a","A")
ผิดทุกตัวเลือก
12. Which of the following are in Object class?
[j0122]
sleep()
notify()
thread()
join()
ผิดทุกตัวเลือก
13. Which of the following are illegal lines?
[j0005]
int x = 1;
byte b = 127;
float a = 1.1;
boolean x = true;
ผิดทุกตัวเลือก
14. Which of the following are illegal lines?
[j0014]
char a = -1;
long a = -1;
int a = -1;
byte a = 10/10;
ผิดทุกตัวเลือก
15. How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ผิดทุกตัวเลือก
16. What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก
17. Which of the following are Java keywords?
[j0041]
jvm
native
Goto
integer
ผิดทุกตัวเลือก
18. What is access modifier?
[j0050]
protected
void
class
args
ผิดทุกตัวเลือก
19. What is collection class?
[j0059]
TreeList
LinkedHashMap
MapSet
SortedSet
ผิดทุกตัวเลือก
20. What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ผิดทุกตัวเลือก
21. Which of the following are illegal lines?
[j0077]
int a = 1;
int a[] = {1};
int a[] = {1,2,3};
int a[] = {"1","2"};
ผิดทุกตัวเลือก
22. Which of the following are legal lines for instance variables?
[j0086]
can be marked final
can be marked transient
can be marked public
can be marked strictfp
ผิดทุกตัวเลือก
23. Which of the following are data type for switch?
[j0095]
byte
float
String
double
ผิดทุกตัวเลือก
24. Which of the following are result of 4 & 6?
[j0104]
1
2
4
6
ผิดทุกตัวเลือก
25. Which of the following are illegal lines about String class?
[j0113]
x.substring(5,2)
x.toString()
x.length("abc")
x.replace("a","A")
ผิดทุกตัวเลือก
26. Which of the following are in Object class?
[j0122]
sleep()
notify()
thread()
join()
ผิดทุกตัวเลือก
27. Which of the following are illegal lines?
[j0005]
int x = 1;
byte b = 127;
float a = 1.1;
boolean x = true;
ผิดทุกตัวเลือก
28. Which of the following are illegal lines?
[j0014]
char a = -1;
long a = -1;
int a = -1;
byte a = 10/10;
ผิดทุกตัวเลือก
29. How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ผิดทุกตัวเลือก
30. What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก
Truehits.net
www.Stats.in.th