You are free to call methods that throw runtime exceptions, without enclosing the calls in try blocks. public class MainClass{ public static void main(String[] argv){ int[] i = new int[3]; System.out.println(i[10]); } }
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10 at MainClass.main(MainClass.java:5)