ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก)
-
ความรู้ทั่วไป ชุดประเทศไทย
-
สังคมระดับมัธยมถึงปริญญา
-
ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น
-
นักวิทยุสมัครเล่น
-
จังหวัด รหัสไปรษณีย์
-
Visual Basic
-
JAVA
-
ศัพท์200
-
ทั่วไป.ศิริรุ่ง
แบบทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. What will be printed out for the following code?
System.out.println(0011);
[j0033]
9
11
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก
2. Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ผิดทุกตัวเลือก
3. What is access modifier?
[j0051]
import
private
try
javac
ผิดทุกตัวเลือก
4. What is collection class?
[j0060]
LinkList
TreeList
HashMap
OrderedList
ผิดทุกตัวเลือก
5. What collection class is sorted?
[j0069]
TreeList
HashTable
TreeSet
HashMap
ผิดทุกตัวเลือก
6. Which of the following are illegal lines?
[j0078]
integer a = 1;
double a = 1;
long a = 1;
float a = 1;
ผิดทุกตัวเลือก
7. Which of the following are illegal lines?
[j0087]
void method () { }
void excite (int a) { }
int outpro () { }
void byebye (integer a) { }
ผิดทุกตัวเลือก
8. Which of the following are data type for switch?
[j0096]
double
float
String
int
ผิดทุกตัวเลือก
9. Which of the following are result of 4 & 6?
[j0105]
1
2
4
6
ผิดทุกตัวเลือก
10. Which of the following are legal lines about StringBuffer class?
[j0114]
x.substring(5,2)
x.append("abc")
x.length("abc")
x.replace("a","A")
ผิดทุกตัวเลือก
11. Which of the following are default method of runnable?
[j0123]
begin()
open()
run()
start()
ผิดทุกตัวเลือก
12. Which of the following are illegal lines?
[j0006]
int x = 1111;
byte b = 127;
boolean x = true;
float a = 2.1;
ผิดทุกตัวเลือก
13. Which of the following are illegal lines?
[j0015]
char a = '&';
char a = 0;
char a = 09;
char a = 99;
ผิดทุกตัวเลือก
14. How much is INT for primitive type?
[j0024]
8 bit
16 bit
32 bit
64 bit
ผิดทุกตัวเลือก
15. What will be printed out for the following code?
System.out.println(0011);
[j0033]
9
11
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก
16. Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ผิดทุกตัวเลือก
17. What is access modifier?
[j0051]
import
private
try
javac
ผิดทุกตัวเลือก
18. What is collection class?
[j0060]
LinkList
TreeList
HashMap
OrderedList
ผิดทุกตัวเลือก
19. What collection class is sorted?
[j0069]
TreeList
HashTable
TreeSet
HashMap
ผิดทุกตัวเลือก
20. Which of the following are illegal lines?
[j0078]
integer a = 1;
double a = 1;
long a = 1;
float a = 1;
ผิดทุกตัวเลือก
21. Which of the following are illegal lines?
[j0087]
void method () { }
void excite (int a) { }
int outpro () { }
void byebye (integer a) { }
ผิดทุกตัวเลือก
22. Which of the following are data type for switch?
[j0096]
double
float
String
int
ผิดทุกตัวเลือก
23. Which of the following are result of 4 & 6?
[j0105]
1
2
4
6
ผิดทุกตัวเลือก
24. Which of the following are legal lines about StringBuffer class?
[j0114]
x.substring(5,2)
x.append("abc")
x.length("abc")
x.replace("a","A")
ผิดทุกตัวเลือก
25. Which of the following are default method of runnable?
[j0123]
begin()
open()
run()
start()
ผิดทุกตัวเลือก
26. Which of the following are illegal lines?
[j0006]
int x = 1111;
byte b = 127;
boolean x = true;
float a = 2.1;
ผิดทุกตัวเลือก
27. Which of the following are illegal lines?
[j0015]
char a = '&';
char a = 0;
char a = 09;
char a = 99;
ผิดทุกตัวเลือก
28. How much is INT for primitive type?
[j0024]
8 bit
16 bit
32 bit
64 bit
ผิดทุกตัวเลือก
29. What will be printed out for the following code?
System.out.println(0011);
[j0033]
9
11
Compilation fails
An exception is thrown at runtime
ผิดทุกตัวเลือก
30. Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ผิดทุกตัวเลือก
Truehits.net
www.Stats.in.th