ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are data type for switch?
[j0094]
double
float
short
String
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are illegal lines about String class?
[j0110]
x.substring(5,2)
x.concat
x.length()
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
Which of the following are legal lines about StringBuffer class?
[j0116]
x.insert(4,"a")
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
What is access modifier?
[j0055]
java
public
void
import
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are data type for switch?
[j0095]
byte
float
String
double
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are in Object class?
[j0121]
wait()
sleep()
run()
yield()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are equal 3?
[j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are default method of runnable?
[j0123]
begin()
open()
run()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
Which of the following are Java keywords?
[j0048]
stand
float
servlet
applet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are illegal lines?
[j0009]
byte b = 127;
int x = 0.1;
float a = 5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
What is collection class?
[j0061]
SortedSet
KeyMap
TreeList
TreeSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
What is access modifier?
[j0056]
private
import
try
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
Which of the following are illegal lines?
[j0016]
char a = '&';
char a = 08;
char a = 99;
char a = 0xaa;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are illegal lines?
[j0074]
int [5] a;
int [] aa [];
int [][] a;
int a[];
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are illegal lines about String class?
[j0109]
x.charAt(5)
x.toLowerCase()
x.length
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are default method of default constructor?
[j0125]
super()
run()
this()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are illegal lines?
[j0087]
void method () { }
void excite (int a) { }
int outpro () { }
void byebye (integer a) { }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
What is access modifier?
[j0053]
exception
import
javac
private
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
What will be printed out for the following code?
System.out.println(true);
[j0031]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
Which of the following are legal identifiers?
[j0019]
_tom
-dang
123
?abc
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
What will be printed out for the following code?
System.out.println(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are default method of default constructor?
[j0125]
super()
run()
this()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
Which of the following are illegal lines?
[j0008]
int x = 01;
byte b = -255;
boolean x = true;
float a = 2.1f;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
Which of the following are false?
[j0100]
'false' == 'false'
55.0 == 55L
10 != 10.1
true == false
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net