ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are Java keywords?
[j0040]
java
mail
extend
const
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are legal identifiers?
[j0020]
joy
-dang
33
class
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
Which of the following are false?
[j0097]
7 != 6
5.0 == 5L
true == false
'a' == 'a'
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
Which of the following are illegal lines?
[j0073]
int [] a;
int [] a [];
int [][] a;
int a[5];
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are illegal lines?
[j0084]
final class a{ }
interface class a{ }
public class a{ }
abstract Class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are Java keywords?
[j0049]
standard
jsp
while
loop
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
Which of the following are legal lines about StringBuffer class?
[j0114]
x.substring(5,2)
x.append("abc")
x.length("abc")
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are false?
[j0100]
'false' == 'false'
55.0 == 55L
10 != 10.1
true == false
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
Which of the following are result of 4 & 6?
[j0105]
1
2
4
6
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are illegal lines about String class?
[j0107]
x.charAt(5)
x.concat("a")
x.length()
x.Replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
How much is LONG for primitive type?
[j0025]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
Which of the following are equal 3?
[j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
What is access modifier?
[j0057]
args
protected
class
void
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
What collection class is ordered by index?
[j0070]
ArrayList
HashTable
HashMap
SortedSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
What is access modifier?
[j0050]
protected
void
class
args
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
Which of the following are illegal lines?
[j0010]
int a = "a";
int a = 'a' + 'a';
int a = 10/2;
byte a = 10/2;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
What is collection class?
[j0059]
TreeList
LinkedHashMap
MapSet
SortedSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are illegal lines?
[j0016]
char a = '&';
char a = 08;
char a = 99;
char a = 0xaa;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are legal lines about StringBuffer class?
[j0116]
x.insert(4,"a")
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
Which of the following are in Object class?
[j0122]
sleep()
notify()
thread()
join()
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
What is access modifier?
[j0051]
import
private
try
javac
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are illegal lines?
[j0076]
int a = 1;
int a[] = {"1"};
int a[] = {1,2,3};
int a[] = {1};
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
Which of the following are result of Math.abs(99)?
[j0118]
0
9
99
-99
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
Which of the following are illegal lines about String class?
[j0109]
x.charAt(5)
x.toLowerCase()
x.length
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are illegal lines?
[j0081]
package class a{ }
final class a{ }
public class a{ }
strictfp class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
What will be printed out for the following code?
System.out.println(TRUE);
[j0029]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
Which of the following are illegal lines?
[j0015]
char a = '&';
char a = 0;
char a = 09;
char a = 99;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
What will be printed out for the following code?
System.out.println(0022);
[j0035]
2
2200
18
78
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net