Search Header Logo

java revews

Authored by Phạm Tính

Computers

Professional Development

Used 125+ times

java revews
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?