Yurttas/PL/OOL/Java/F/03/00/index page

From ZCubes Wiki
Jump to navigation Jump to search
Dr. Salih Yurttas - yurttas@zcubes.com
programming languages - design principles, implementation constructs
java

  1. exceptions
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
        at E01.main(E01.java:23)
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 5
        at java.lang.String.charAt(String.java:444)
        at E03.main(E03.java:23)
Enter an index: 8
java.lang.StringIndexOutOfBoundsException: String index out of range: 8

1 | class, package, jar, bean << >> >> inheritance | 5 | 6 | 7 | 8 | 9