Java : JAVA Operators

Which among the following operators is used to check the two operands are equal or not? , Which among the following operators is used to check the two operands are equal or not?

Which among the following operators is used to check the two operands are equal or not?

Which among the following operators is used to check the two operands are equal or not?
A. Equals

B. =

C. ==

D. None of these



Correct Answer :

C. ==



Explanation
== (Relational Operator) is used to compare two operands are equal or not, whether '=' is used to assign the value from right side expression to left.
CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad