
Câu hỏi về lập trình Java
Quiz
•
Fun
•
University
•
Practice Problem
•
Easy
Phùng Đông
Used 1+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
