PRO192_-_FA_2023_-_FE_1027.webp
Erza_girl

PRO192_-_FA_2023_-_FE_1027.webp

6
Answer (Choose 1 answer)
What will be the result of attempting to compile and run the following code?
A. a sequence of 5 0's will be printed
B. Error: ar is used before it is initialized
C. IndexOutOfBoundes Error
D. Error Mine must be declared abstract
abstract class MineBase {
abstract void amethod();static int i;}
public class Mine extends MineBase {
public static void main(String argv[]){
int[] ar=new int[5];
for(i=0;i < ar.length;i++)
System.out.println(ar[i]);


Thông tin

Category
PRO192
Thêm bởi
Erza_girl
Ngày thêm
Lượt xem
4,371
Lượt bình luận
26
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_FA_2023_-_FE_1027.webp
File size
53.4 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom