Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java or symbol

//logical OR is || in Java
public static boolean or(boolean a,boolean b){
	return a||b;
}
//bitwise OR is | in Java
public static int bitwiseOr(int a,int b){
	return a|b;
}
 
PREVIOUS NEXT
Tagged: #java #symbol
ADD COMMENT
Topic
Name
4+6 =