ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา - ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น - นักวิทยุสมัครเล่น - จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ศัพท์200 - ทั่วไป.ศิริรุ่ง
แบบทดสอบ จาวา ชุดเล็ก (Mini JAVA) ในชุด 5 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. Which of the following are false? [j0097]
7 != 6
5.0 == 5L
true == false
'a' == 'a'
ผิดทุกตัวเลือก

2. Which of the following are result of Math.abs(99)? [j0118]
0
9
99
-99
ผิดทุกตัวเลือก

3. Which of the following are illegal lines? [j0013]
char a = 'a' + 'a';
long a = -1;
byte a = 'z' + 'z'
byte a = 10/9;
ผิดทุกตัวเลือก

4. What will be printed out for the following code?
System.out.println(0021);
[j0034]
2
17
21
2100
ผิดทุกตัวเลือก

5. What is access modifier? [j0055]
java
public
void
import
ผิดทุกตัวเลือก