ศูนย์สอบออนไลน์ (Online Quiz Center)
ศัพท์อังกฤษ (ศัพท์ยาก)
-
ความรู้ทั่วไป ชุดประเทศไทย
-
สังคมระดับมัธยมถึงปริญญา
-
ศัพท์อังกฤษ ระดับต้น
คอมพิวเตอร์เบื้องต้น
-
นักวิทยุสมัครเล่น
-
จังหวัด รหัสไปรษณีย์
-
Visual Basic
-
JAVA
-
ศัพท์200
-
ทั่วไป.ศิริรุ่ง
แบบทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 5 ข้อ
ปรับปรุง : 2553-11-25 (ปรับการแสดงผล)
1. Which of the following are legal lines about StringBuffer class?
[j0117]
x.substring(5,2)
x.toUpperCase()
x.reverse()
x.replace("a","A","")
ผิดทุกตัวเลือก
2. Which of the following are default method of default constructor?
[j0125]
super()
run()
this()
start()
ผิดทุกตัวเลือก
3. Which of the following are illegal lines?
[j0007]
int x = 1;
byte b = 127;
boolean x = 0;
float a = 2.1f;
ผิดทุกตัวเลือก
4. Which of the following are illegal lines?
[j0015]
char a = '&';
char a = 0;
char a = 09;
char a = 99;
ผิดทุกตัวเลือก
5. How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ผิดทุกตัวเลือก
Truehits.net
www.Stats.in.th