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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
bashar
Posts: 3
Joined: Sun Sep 01, 2013 2:27 am
Contact:

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

Post 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

admin
Site Admin
Posts: 10405
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

I am not sure I understand completely what you've written but I think yes, you got it.
-Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests