Java Object class in Telugu | Java Object class methods in Telugu

Java Object class | Java Object class methods
→ The object class is the parent class for all the classes.

Methods of Object class:
→ public final Class getClass() – It returns the Class class object of this object.
→ public int hashCode() – It returns the hash code value for this object.
→ public boolean equals(Object obj) – It compares the given object to this object.
→ protected Object clone() throws CloneNotSupportedException – It creates a cloned copy of the object
→ public…

Related Posts

Leave a Reply

Your email address will not be published.

© 2022 Code As Pro - Theme by WPEnjoy · Powered by WordPress