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 -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -