Syntax in Java `|`

I have the following line of code:

papaIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);

Please help me explain what mean of | sign in this situation. Thank you!


Source: syntax

Leave a Reply