ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are legal lines?
[j0085]
System.Out.println();
System.out.println();
System.out.Println();
System.Out.Println();
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are result of 4 & 6?
[j0106]
1
2
4
6
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
What will be printed out for the following code?
System.out.println(TRUE);
[j0029]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
Which of the following are legal lines about StringBuffer class?
[j0116]
x.insert(4,"a")
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are ilegal identifiers?
[j0017]
abc
class
method
var
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
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 result of 3 ^ 5?
[j0103]
1
3
6
7
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are in Object class?
[j0121]
wait()
sleep()
run()
yield()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are illegal lines?
[j0010]
int a = "a";
int a = 'a' + 'a';
int a = 10/2;
byte a = 10/2;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
What collection class is ordered by index?
[j0072]
TreeList
HashTable
LinkedList
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are default method of runnable?
[j0123]
begin()
open()
run()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
What will be printed out for the following code?
System.out.println(0x022);
[j0039]
22
18
34
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
What will be printed out for the following code?
System.out.println(0x0010);
[j0036]
0
10
16
100
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
What is access modifier?
[j0051]
import
private
try
javac
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are illegal lines?
[j0006]
int x = 1111;
byte b = 127;
boolean x = true;
float a = 2.1;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are default method of runnable?
[j0124]
begin()
run()
open()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
What collection class is ordered by index?
[j0072]
TreeList
HashTable
LinkedList
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are false?
[j0098]
8 != 6
true == false
5.0 == 5L
'a' == 'a'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are false?
[j0099]
9 != 6
15.0 == 015
9 != 6
'yes' == 'yes'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
Which of the following are illegal lines?
[j0076]
int a = 1;
int a[] = {"1"};
int a[] = {1,2,3};
int a[] = {1};
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
Which of the following are default method of default constructor?
[j0125]
super()
run()
this()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
Which of the following are result of 3 ^ 5?
[j0103]
1
3
6
7
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are illegal lines?
[j0083]
final class a{ }
class a{ }
public class a{ }
import class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
What is access modifier?
[j0054]
class
try
protected
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
Which of the following are illegal identifiers?
[j0018]
yonok
joy
$aa
2005year
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are illegal lines?
[j0088]
void method () { }
void excite (int a) { }
int outpro (true a) { }
void byebye (int a) { }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
Which of the following are equal 12?
[j0089]
10 >> 2
10 << 2
24 >> 1
24 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
What is access modifier?
[j0051]
import
private
try
javac
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
What is collection class?
[j0066]
Vector
SortedSet
OrderedList
KeyMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net