Are the equals() and hashCode() protected methods of object class?
No, the equals() and hashCode() are public methods of object class.
| Is This Answer Correct ? | 8 Yes | 0 No |
What is logical variable?
How are this() and super() used with constructors?
can we overload main method?
How does a try statement determine which catch clause should be used to handle an exception?
as we know a static method could access static data and static method only. then how could main method call the object of aclass which is not static and other non static data
What is the exact difference in between Unicast and Multicast object?
What is purpose of keyword void?
What is a linkedhashmap java?
What classes can be used to store arbitrary number of objects ?
what is main difference b/w abstract class and interface
How are this and super used?
What access modifiers can be used for variables?