PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
successful_man

PRO192_-_SU_2023_-_Block_5_-_FE_735.webp

(23)
Answer (Choose 1 answer)
A. a sequence of 5 0's will be printed
B. IndexOutOfBoundes Error
C. Error: ar is used before it is initialized
D. Error Mine must be declared abstract
What will be the result of attempting to compile and run the following code?
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
successful_man
Ngày thêm
Lượt xem
2,235
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
File size
53 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom