What will be the output of following program?
public class Valid {
public static void parse(String str) {
int f = 5;
try {
int f1 = Integer.parseInt(str);
} catch (NumberFormatException nfe) {
} finally {
f = 0;
System.out.print(f + "-");
}
}
public static void main(String[] args) {
Valid.parse(args[0]);
System.out.print("invalid");
}
}