Okay, so I have this piece of code tested and I found there isn\'t any exception thrown out.
public static void main(String[] args) { int[] list = {1,2}
Yes. If the first condition is not satisfied then the remainder are not evaluated. This is known as short-circuiting. See here for more details. Note that this isn't particular to Java and lot of other languages will do the same.