1. Logical OR Sign is || and AND Sign is |.
2. Both work is same but Operation Method is Different
for example
if(a==10 || b==10)
here if a =10 then condition is Satisfied and not going checking values of B.
Moral One Operation for checking second i.e B values decrasesand in AND & operation
if(a==10 | b==10)
here if a ==10 then also it is checking B value i.e it is not necessary. Logical OR(||) is Best.