ในคลาส Scanner จะใช้เมธอดใดในการรับข้อมูลที่เป็น String
Chapter 4 การสืบทอด Class

Quiz
•
Computers
•
University
•
Hard
พโยมรัตน์ โรจนากาศ
Used 19+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
nextLine()
nextString()
readString()
nextInt()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การกำหนดค่าให้กับอาร์เรย์ข้อใดผิด
int[] x = {1,2,3,4};
string[] x={“ICE”,”POND”,”OAT”}
char [4] x = {‘A’,’1’,’B’,2};
double[2] x ={1.8, 2.4}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากประกาศตัวแปรอาร์เรย์เป็น int[] A = {8,10,12,4,9}; ข้อใดถูกต้อง
อาร์เรย์นี้มีขนาด 100 ไบต์
A[4]+5 มีค่าเท่ากับ 14
A[3]%3 มีค่าเท่ากับ 0
A[5] มีค่าเท่ากับ 9
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ลูปในภาษาจาวาประเภทใดที่ทราบจำนวนครั้งในการทำซ้ำที่แน่นอน
for
repeat
while
do…while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือคำสั่ง Selection ในภาษา Java
break
continue
for()
if()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การสืบทอด Class แบบใดถูกต้อง
class A : B
class A extends B
class A < B
class A <- B
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การสั่งรันโปรแกรม JAVA ใน Command Line ใช้คำสั่งอะไร
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
GED1001

Quiz
•
University
10 questions
การโปรแกรมคอมพิวเตอร์บนอุปกรณ์พกพา Unit 1

Quiz
•
University - Professi...
15 questions
แบบทดสอบการเขียนโปรแกรมเบื้องต้น

Quiz
•
12th Grade - University
10 questions
cp06-01-1D-Array

Quiz
•
University
10 questions
ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 6

Quiz
•
University
10 questions
scratch

Quiz
•
University
6 questions
CP03-01 ชนิดข้อมูลและการประกาศตัวแปร

Quiz
•
University
10 questions
หน่วยที่ 1 การจัดการข้อมูลและสารสนเทศ

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade