C) Compilation error cannot run.

This is because the catch block for ArrayIndexOutOfBoundsException will never be reached since it is more specific than the catch block for Exception. Therefore, it results in a compilation error.

Tom wrote the following code Select the correct output for following code try int array = new int 1 2 3 4 5; int result = array5;Systemout printinresult value + result++;catchException e eprintSta

原文地址: http://www.cveoy.top/t/topic/g1F9 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录