MCQ Answer

The statement a%2 will result to what if the value of a is an even number?

The statement a%2 will result to what if the value of a is an even number?

Topic : JAVA Operators

A. 0

B. 1

C. Both a and b

D. None of these




Correct Answer is :

A. 0



Explanation
the % (modulo) operator used to find the reminder of number.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad