|
/*
|
|
* (c) 2009 Thomas Smits
|
|
*/
|
|
package pr2.ausnahmen.trycatch;
|
|
|
|
public class ExceptionExample {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
String[] namen = { "Franz", "Hans", "Alfons" };
|
|
|
|
for (int i = 0; i < 4; i++) {
|
|
System.out.print(namen[i] + ", ");
|
|
}
|
|
}
|
|
}
|