ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (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.
What is access modifier?
[j0055]
java
public
void
import
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
What will be printed out for the following code?
System.out.println(0x0011);
[j0037]
1
11
16
17
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
What will be printed out for the following code?
System.out.println(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are Java keywords?
[j0047]
double
input
ascii
program
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are legal identifiers?
[j0019]
_tom
-dang
123
?abc
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
What is access modifier?
[j0052]
javac
void
public
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are illegal lines?
[j0077]
int a = 1;
int a[] = {1};
int a[] = {1,2,3};
int a[] = {"1","2"};
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
What is access modifier?
[j0055]
java
public
void
import
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
Which of the following are illegal lines?
[j0087]
void method () { }
void excite (int a) { }
int outpro () { }
void byebye (integer a) { }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are illegal lines?
[j0079]
abstract Class a{ }
final class a{ }
public class a{ }
class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
Which of the following are illegal lines?
[j0010]
int a = "a";
int a = 'a' + 'a';
int a = 10/2;
byte a = 10/2;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
Which of the following are Java keywords?
[j0048]
stand
float
servlet
applet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
How much is FLOAT for primitive type?
[j0026]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
What is collection class?
[j0058]
ArrayList
LinkList
ThreeSet
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are result of 3 | 5?
[j0102]
1
3
6
7
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
Which of the following are illegal lines?
[j0074]
int [5] a;
int [] aa [];
int [][] a;
int a[];
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are equal 12?
[j0090]
11 >> 2
11 << 2
25 >> 1
25 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are result of Math.ceil(8.4)?
[j0119]
8
8.5
9
10
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are illegal lines about String class?
[j0107]
x.charAt(5)
x.concat("a")
x.length()
x.Replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
What is collection class?
[j0060]
LinkList
TreeList
HashMap
OrderedList
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
Which of the following are Java keywords?
[j0040]
java
mail
extend
const
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
What collection class is ordered by index?
[j0071]
MapSet
Vector
HashMap
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
What collection class is sorted?
[j0068]
TreeList
TreeMap
MapSet
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
What will be printed out for the following code?
System.out.println(0022);
[j0035]
2
2200
18
78
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
How much is INT for primitive type?
[j0024]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are result of 3 | 5?
[j0102]
1
3
6
7
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
Which of the following are illegal lines?
[j0076]
int a = 1;
int a[] = {"1"};
int a[] = {1,2,3};
int a[] = {1};
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
Which of the following are false?
[j0100]
'false' == 'false'
55.0 == 55L
10 != 10.1
true == false
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
What will be printed out for the following code?
System.out.println(TRUE);
[j0029]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net