Write a program to Check if a number is even or odd is one of basic question which will be asked in the interview for fresher, anyone can solve this but always this question comes with a twist given at the end stating that we should not use the modulo or division operator in Java. Before getting into the actual code to begin with lets use the modulo and division operation to … [Read more...]