java revews

Quiz
•
Computers
•
Professional Development
•
Medium
Phạm Tính
Used 125+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho đoạn mã sau, cho biết giá trị của biến c?
int a = 5; int b = 7; int c = (a + b) % 5 * 2;
2
5
4
12
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho đoạn mã sau, cho biết giá trị của biến c?
int a = 5;
int b = 7;
int c = a++ + ++b;
13
7
15
14
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Lưu trữ giá trị "True" hay "False" ta sử dụng kiểu dữ liệu nào?
byte
boolean
char
string
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Chương trình Java bắt đầu chạy từ đâu?
start()
main()
init()
begin()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Chương trình viết bằng ngôn ngữ Java có thể chạy trên hệ điều hành nào ?
Win
Linux
Mac OS
Tất cả mọi hệ điều hành
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Chọn khai báo biến sai
int a, b=5, c=2;
int a, b, c;
int a, b=5, c;
int a; b=5;
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cú pháp đúng của phương thức main() là
static void main(String args)
static void main(String[] args)
public static void main()
public static void main(String[] args)
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
C Language Test - 2

Quiz
•
Professional Development
15 questions
Flutter Q_0

Quiz
•
Professional Development
17 questions
Java programming

Quiz
•
Professional Development
25 questions
C Language Test 3

Quiz
•
Professional Development
16 questions
UC_TM03_Arrays_Functions

Quiz
•
University - Professi...
20 questions
SPARK FIDDLE

Quiz
•
Professional Development
15 questions
C Language Quiz-1

Quiz
•
University - Professi...
20 questions
C-Quest

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade