Lets say I have this:
if(bool1 && bool2 && bool3) { ... }
Now. Is Java smart enough to skip checking bool2 and bool2 if boo
Yes,that is called short-circuiting.
Please take a look at this wikipedia page on short-circuiting