ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are illegal lines about String class?
[j0109]
x.charAt(5)
x.toLowerCase()
x.length
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are result of Math.abs(99)?
[j0118]
0
9
99
-99
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
What will be printed out for the following code?
System.out.println(0x0011);
[j0037]
1
11
16
17
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
Which of the following are in Object class?
[j0122]
sleep()
notify()
thread()
join()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are illegal lines?
[j0073]
int [] a;
int [] a [];
int [][] a;
int a[5];
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are illegal lines?
[j0082]
strictfp class a{ }
final class a{ }
public class a{ }
transient class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
Which of the following are default method of runnable?
[j0124]
begin()
run()
open()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
What is collection class?
[j0061]
SortedSet
KeyMap
TreeList
TreeSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are false?
[j0097]
7 != 6
5.0 == 5L
true == false
'a' == 'a'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
Which of the following are false?
[j0099]
9 != 6
15.0 == 015
9 != 6
'yes' == 'yes'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
Which of the following are Java keywords?
[j0041]
jvm
native
Goto
integer
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
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
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
Which of the following are default method of default constructor?
[j0125]
super()
run()
this()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are illegal lines about String class?
[j0108]
x.charat(5)
x.concat("a")
x.length()
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
What will be printed out for the following code?
System.out.println(true);
[j0031]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
Which of the following are illegal lines?
[j0014]
char a = -1;
long a = -1;
int a = -1;
byte a = 10/10;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are illegal lines about String class?
[j0111]
x.trim()
x.concat
x.length()
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are illegal lines?
[j0079]
abstract Class a{ }
final class a{ }
public class a{ }
class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
What is access modifier?
[j0050]
protected
void
class
args
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
What will be printed out for the following code?
System.out.println(0021);
[j0034]
2
17
21
2100
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
Which of the following are data type for switch?
[j0093]
double
float
String
char
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are illegal identifiers?
[j0021]
123a
a123
method
index
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
Which of the following are Java keywords?
[j0040]
java
mail
extend
const
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
Which of the following are result of 4 & 6?
[j0106]
1
2
4
6
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are legal lines about StringBuffer class?
[j0116]
x.insert(4,"a")
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
Which of the following are default method of default constructor?
[j0126]
start()
run()
this()
super()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
What collection class is sorted?
[j0069]
TreeList
HashTable
TreeSet
HashMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net