ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are illegal lines?
[j0016]
char a = '&';
char a = 08;
char a = 99;
char a = 0xaa;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
Which of the following are data type for switch?
[j0095]
byte
float
String
double
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
What collection class is ordered by index?
[j0071]
MapSet
Vector
HashMap
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are illegal lines about String class?
[j0108]
x.charat(5)
x.concat("a")
x.length()
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are Java keywords?
[j0048]
stand
float
servlet
applet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
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.
What will be printed out for the following code?
System.out.println(0x0010);
[j0036]
0
10
16
100
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are legal lines about StringBuffer class?
[j0116]
x.insert(4,"a")
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
What is access modifier?
[j0054]
class
try
protected
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
What will be printed out for the following code?
System.out.println(0x11);
[j0038]
0
11
17
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
How much is INT for primitive type?
[j0024]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
Which of the following are illegal lines about String class?
[j0109]
x.charAt(5)
x.toLowerCase()
x.length
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
What will be printed out for the following code?
System.out.println(0x022);
[j0039]
22
18
34
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are result of Math.floor(8.4)?
[j0120]
8
8.5
9
10
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are illegal identifiers?
[j0018]
yonok
joy
$aa
2005year
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
What collection class is sorted?
[j0069]
TreeList
HashTable
TreeSet
HashMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
What is collection class?
[j0058]
ArrayList
LinkList
ThreeSet
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
What will be printed out for the following code?
System.out.println(0022);
[j0035]
2
2200
18
78
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are equal 12?
[j0090]
11 >> 2
11 << 2
25 >> 1
25 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
Which of the following are illegal lines?
[j0082]
strictfp class a{ }
final class a{ }
public class a{ }
transient class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
What is access modifier?
[j0051]
import
private
try
javac
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are illegal lines?
[j0012]
char a = 'a' + 'a';
byte a = 'z' + 'z'
int a = 10/3;
byte a = 10/3;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
What collection class is ordered by index?
[j0072]
TreeList
HashTable
LinkedList
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
Which of the following are result of Math.abs(99)?
[j0118]
0
9
99
-99
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
What will be printed out for the following code?
System.out.println(0x022);
[j0039]
22
18
34
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
Which of the following are illegal lines?
[j0083]
final class a{ }
class a{ }
public class a{ }
import class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
Which of the following are illegal lines?
[j0080]
class a{ }
final class a{ }
public class a{ }
import class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
What is collection class?
[j0060]
LinkList
TreeList
HashMap
OrderedList
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net