
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
