Page 1 of 1

About Question enthuware.ocajp.i.v7.2.1342 :

Posted: Mon Sep 02, 2013 6:17 am
by bashar
dear sir

which i understand that if it is ( | )that mean when run programes will chek both condition and one of them is true will run null pointer exception

and when it is (||) will check first condition if is false then will chek the other condition if is true will run null pointer exception , and if it is true will not chek other condition and in this case will not read other condition and that cause programe never run null pointer exception

Re: About Question enthuware.ocajp.i.v7.2.1342 :

Posted: Mon Sep 02, 2013 7:24 am
by admin
I am not sure I understand completely what you've written but I think yes, you got it.
-Paul.