
Câu hỏi về lập trình Java

Quiz
•
Fun
•
University
•
Easy
Phùng Đông
Used 1+ times
FREE Resource
75 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Java, để khai báo một lớp, ta sử dụng từ khóa nào?
class
def
function
struct
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để kết nối Java với cơ sở dữ liệu MySQL?
Connection.connect()
DriverManager.getConnection()
Database.connect()
SQLDriver.getConnection()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xử lý ngoại lệ trong Java, ta sử dụng cấu trúc nào?
try-catch
if-else
do-while
for-each
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java sử dụng kiểu dữ liệu nào để đại diện cho số thực?
int
char
float
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mệnh đề nào trong Java giúp trả về giá trị từ một phương thức?
stop
return
end
break
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Java, từ khóa nào giúp kế thừa một lớp?
implements
extends
inherits
derives
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo một đối tượng mới trong Java, ta sử dụng từ khóa nào?
new
create
construct
define
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Fun
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University