Our java code will not compile when we do not throw exception when we use some logic where exception might occur (such as we have to either enclose the code in try-catch or use throws while working with files on system.) So in the same way why java developer did not consider Run time exceptions as checked exception?
We know that ArrayIndexOutOfBoundException can occur while using array. So why it was not included as checked exception, and is called an unchecked exception?