Java: Bitwise operations on booleans that are returned from Methods -


this question has answer here:

i'm looking @ following code snippet

bresult |= purgedatafordig(protocol); 

the variable bresult of type boolean.

am correct in assuming return of method purgedatafordig or'd bresult , result written bresult?

thanks paul.

that correct,

the above code snippet functionally same as:

res = purgedatafordig(protocol); bresult = bresult | res; 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -