ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา - ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น - นักวิทยุสมัครเล่น - จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ศัพท์200 - ทั่วไป.ศิริรุ่ง
แบบทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 5 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. What will be printed out for the following code?
System.out.println(0x11);
[j0038]
0
11
17
Compilation fails
ผิดทุกตัวเลือก

2. What is access modifier? [j0056]
private
import
try
java
ผิดทุกตัวเลือก

3. Which of the following are illegal lines? [j0074]
int [5] a;
int [] aa [];
int [][] a;
int a[];
ผิดทุกตัวเลือก

4. Which of the following are equal 3? [j0092]
13 >> 2
13 << 2
27 >> 1
27 << 1
ผิดทุกตัวเลือก

5. Which of the following are illegal lines about String class? [j0110]
x.substring(5,2)
x.concat
x.length()
x.replace("a","A")
ผิดทุกตัวเลือก