ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are illegal lines?
[j0082]
strictfp class a{ }
final class a{ }
public class a{ }
transient class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are Java keywords?
[j0041]
jvm
native
Goto
integer
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
What collection class is ordered by index?
[j0070]
ArrayList
HashTable
HashMap
SortedSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are false?
[j0098]
8 != 6
true == false
5.0 == 5L
'a' == 'a'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are illegal lines about String class?
[j0107]
x.charAt(5)
x.concat("a")
x.length()
x.Replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are illegal lines?
[j0077]
int a = 1;
int a[] = {1};
int a[] = {1,2,3};
int a[] = {"1","2"};
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
Which of the following are illegal lines about String class?
[j0112]
x.substring(5,2)
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
Which of the following are illegal lines?
[j0016]
char a = '&';
char a = 08;
char a = 99;
char a = 0xaa;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are illegal lines?
[j0014]
char a = -1;
long a = -1;
int a = -1;
byte a = 10/10;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are illegal identifiers?
[j0021]
123a
a123
method
index
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
What is collection class?
[j0065]
TreeList
OrderedList
KeyMap
TreeMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are illegal lines about String class?
[j0111]
x.trim()
x.concat
x.length()
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
What will be printed out for the following code?
System.out.println(True);
[j0028]
true
True
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
What will be printed out for the following code?
System.out.println(0x022);
[j0039]
22
18
34
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
Which of the following are Java keywords?
[j0042]
goto
Byte
Class
method
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
What is access modifier?
[j0056]
private
import
try
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
What collection class is ordered by index?
[j0071]
MapSet
Vector
HashMap
HashTable
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are result of Math.floor(8.4)?
[j0120]
8
8.5
9
10
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
What is access modifier?
[j0051]
import
private
try
javac
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
What collection class is ordered by index?
[j0070]
ArrayList
HashTable
HashMap
SortedSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net