JavaScript is required

Cho đoạn mã sau đây. Hãy cho biết kết quả khi thực thi
final int i = 100;
byte b = i;
System.out.println(b);

A.

Lỗi Cú Pháp

B.

Lỗi Luận Lý

C.

100

D.

100.0

Trả lời:

Đáp án đúng: C


Câu hỏi liên quan