if number is not equal to 10 throw error in android code example
Example: java if a or b
if(a || b){
doSomething();
}
/*
For if queries: || (OR), && (AND), == (EQUALS), != (DOES NOT EQUAL)
< (LESS THAN), > (GREATER THAN), <= (LESS THAN OR EQUAL TO),
>= (GREATER THAN OR EQUAL TO)
*/