Object ob = new Object(); String stringarr[] = new String[50]; Float floater = new Float(3.14f); ob = stringarr; ob = stringarr[5]; floater = ob; ob = floater; Cho đoạn mã như bên dưới. Hãy cho biết dòng nào không thể biên dịch

Object ob = new Object();

String stringarr[] = new String[50];

Float floater = new Float(3.14f);

ob = stringarr;

ob = stringarr[5];

floater = ob;

ob = floater;

Cho đoạn mã như bên dưới. Hãy cho biết dòng nào không thể biên dịch

A. Dòng 4

B. Dòng 5

C. Dòng 6

D. Dòng 7

Hướng dẫn

Chọn C là đáp án đúng

 

Thư viện tài liệu12 Tháng bảy, 2023 @ 2:36 chiều

Đánh giá chủ đề này
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site