Search Header Logo

Ôn tập bài 1-6 (Java)

Authored by Nguyễn Bá Tuấn Anh

Information Technology (IT)

Professional Development

Used 4+ times

Ôn tập bài 1-6 (Java)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java là ngôn ngữ lập trình kiểu gì?

Ngôn ngữ lập trình hàm.

Ngôn ngữ lập trình kịch bản.

Ngôn ngữ lập trình thủ tục.

Ngôn ngữ lập trình hướng đối tượng.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vòng lặp nào trong Java thường dùng khi biết trước số lần lặp?

Vòng lặp foreach

Vòng lặp for

Vòng lặp do-while

Vòng lặp while

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cú pháp đúng để khai báo một mảng số nguyên trong Java?

int arrayName[];

arrayName int[];

int[] arrayName;

int arrayName;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để truy cập phần tử thứ 3 của mảng arr, ta dùng cú pháp nào?

arr[3]

arr[2]

arr{2}

arr(2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa nào dùng để khai báo lớp trong Java?

object

class

module

interface

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là access modifier cho phép truy cập trong cùng package và các lớp con?

protected

internal

public

private

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức static thuộc về?

Hàm (function)

Biến (variable)

Giao diện (interface)

Lớp (class)

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?