Examveda

In Java, what is the purpose of the `equals` method in the Object class?

A. To create JavaBeans

B. To execute SQL queries

C. To compare two objects for equality

D. To define JavaBean properties

Answer: Option C


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java