What is the == operator?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the == operator?
Rating:
The == operator is generally used to check the equality of primitive type values. It evaluates to true if the two values are the same. Otherwise, it evaluates to false.
The == comparison operator may also be used to determine whether two object references refer to the same object. It evaluates to true if the two reference variables refer to the same object. Otherwise, it evaluates to false.
Rating:
Was this information helpful?
Other articles
- What is the ejbPassivate() method of an entity bean?
- What is a batch update in JDBC?
- What are final variables?
- What is the COMMIT command?
- What is the <prim-key-class> element of the deployment descriptor?