java or symbol

Solutions on MaxInterview for java or symbol by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "java or symbol"
Lisa
20 Jan 2020
1//logical OR is || in Java
2public static boolean or(boolean a,boolean b){
3	return a||b;
4}
5//bitwise OR is | in Java
6public static int bitwiseOr(int a,int b){
7	return a|b;
8}