Java MCQ 19: Java Arrays | Find the Java output & Put answer in Comment box #shorts #icse

preview_player
Показать описание
Java MCQ 19: Java Arrays | Find the Java output & Put answer in Comment box #shorts #icse
Рекомендации по теме
Комментарии
Автор

Exception(Runtime error) because the array size is 5 i.e. 0 to 4. This code will be compiled because compiler does not identifies runtime error and after compilation and while execution interpreter(JVM) will identify it as mistake in input given by user(Runtime error).

ShriniwasPatil-symd
Автор

Its only declared the size. Did not initialize. So exception error

abhilashh
visit shbcf.ru