In java 7 we can catch multiple exceptions at a time like
try {
Class a = Class.forName("wrongClassName");
Object instance = a.newInstance();
} catch (ClassNotFoundException | IllegalAccessException |
InstantiationException ex) {
System.out.println("Failed to create instance");
}
Is this Bitwise Inclusive OR? Bitwise operators are used to compare binaries as far as I know in java. If it is not, then how java differentiates this operator with Bitwise Inclusive OR??
Just want to know the name of the operator used here and is this operator exists before java 7.
Any answer is appreciated. Thanks.