ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
What will be printed out for the following code?
System.out.println(0021);
[j0034]
2
17
21
2100
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
Which of the following are illegal lines?
[j0080]
class a{ }
final class a{ }
public class a{ }
import class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
Which of the following are data type for switch?
[j0096]
double
float
String
int
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
Which of the following are Java keywords?
[j0040]
java
mail
extend
const
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
Which of the following are illegal lines?
[j0007]
int x = 1;
byte b = 127;
boolean x = 0;
float a = 2.1f;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are illegal lines about String class?
[j0111]
x.trim()
x.concat
x.length()
x.replace("a","A")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
Which of the following are data type for switch?
[j0095]
byte
float
String
double
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are legal identifiers?
[j0020]
joy
-dang
33
class
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
What is collection class?
[j0067]
TreeList
HashSet
ThreeSet
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are illegal lines?
[j0004]
int x = 1.0;
byte b = -127;
float a = 5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
What is access modifier?
[j0056]
private
import
try
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
Which of the following are illegal lines?
[j0003]
int x = 1;
byte b = 128;
float a = 5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
Which of the following are Java keywords?
[j0048]
stand
float
servlet
applet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are Java keywords?
[j0045]
For
private
main
args
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
Which of the following are illegal lines?
[j0073]
int [] a;
int [] a [];
int [][] a;
int a[5];
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
Which of the following are Java keywords?
[j0047]
double
input
ascii
program
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are illegal lines?
[j0079]
abstract Class a{ }
final class a{ }
public class a{ }
class a{ }
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are illegal lines?
[j0009]
byte b = 127;
int x = 0.1;
float a = 5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
What will be printed out for the following code?
System.out.println(0021);
[j0034]
2
17
21
2100
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
What will be printed out for the following code?
System.out.println(010);
[j0032]
8
10
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
What is collection class?
[j0065]
TreeList
OrderedList
KeyMap
TreeMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
What will be printed out for the following code?
System.out.println(TRUE);
[j0029]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are equal 3?
[j0091]
12 >> 2
12 << 2
26 >> 1
26 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
Which of the following are illegal lines?
[j0002]
int x = -129;
byte b = -128;
float a = 5.5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
What is collection class?
[j0065]
TreeList
OrderedList
KeyMap
TreeMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
Which of the following are data type for switch?
[j0095]
byte
float
String
double
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
How much is INT for primitive type?
[j0024]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
Which of the following are illegal lines?
[j0006]
int x = 1111;
byte b = 127;
boolean x = true;
float a = 2.1;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net