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}
Right from the javadoc:
The Conditional Operators
The && and || operators perform Conditional-AND and Conditional-OR operations on two boolean expressions. These operators exhibit "short-circuiting" behavior, which means that the second operand is evaluated only if needed.
&& Conditional-AND || Conditional-OR