ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are in Object class?
[j0121]
wait()
sleep()
run()
yield()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are default method of runnable?
[j0124]
begin()
run()
open()
start()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
Which of the following are illegal lines?
[j0083]
final class a{ }
class a{ }
public class a{ }
import class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
What is collection class?
[j0062]
LinkedList
OrderedList
KeyMap
KeySet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
What is access modifier?
[j0050]
protected
void
class
args
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
Which of the following are default method of default constructor?
[j0126]
start()
run()
this()
super()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
What will be printed out for the following code?
System.out.println(true);
[j0031]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
What collection class is ordered by index?
[j0070]
ArrayList
HashTable
HashMap
SortedSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
How much is LONG for primitive type?
[j0025]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are equal 3?
[j0092]
13 >> 2
13 << 2
27 >> 1
27 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
Which of the following are illegal identifiers?
[j0021]
123a
a123
method
index
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
Which of the following are illegal lines?
[j0087]
void method () { }
void excite (int a) { }
int outpro () { }
void byebye (integer a) { }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
Which of the following are default method of default constructor?
[j0126]
start()
run()
this()
super()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are ilegal identifiers?
[j0017]
abc
class
method
var
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are illegal lines?
[j0079]
abstract Class a{ }
final class a{ }
public class a{ }
class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
Which of the following are data type for switch?
[j0096]
double
float
String
int
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are false?
[j0098]
8 != 6
true == false
5.0 == 5L
'a' == 'a'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
How much is DOUBLE for primitive type?
[j0027]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are illegal lines?
[j0013]
char a = 'a' + 'a';
long a = -1;
byte a = 'z' + 'z'
byte a = 10/9;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
Which of the following are Java keywords?
[j0046]
exception
Import
package
export
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
How much is BYTE for primitive type?
[j0022]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are illegal lines?
[j0011]
char a = 'a' + 'a';
int a = (long)'z'
int a = 10/3;
byte a = 10/3;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
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
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
Which of the following are illegal lines about String class?
[j0107]
x.charAt(5)
x.concat("a")
x.length()
x.Replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
What is collection class?
[j0066]
Vector
SortedSet
OrderedList
KeyMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
What is collection class?
[j0063]
ThreeSet
HashTable
TreeList
SortedSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
What will be printed out for the following code?
System.out.println(0x022);
[j0039]
22
18
34
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
Which of the following are illegal lines?
[j0009]
byte b = 127;
int x = 0.1;
float a = 5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net