200+ câu trắc nghiệm Lập trình cho di động có đáp án - Phần 6

Đoạn code sau đây in ra gì?Object[] names = new String; names = new Integer(0);Chọn một:

3/19

Đoạn code sau đây in ra gì?

Object[] names = new String; names = new Integer(0);

Chọn một:

ArrayIndexOutOfBoundsException

ArrayStoreException

Compilation error

Code runs successfully

Giải thích

Chọn đáp án B