Do you know some methods in object class?

int hashCode() – Used to get a hash code value for the object. void notify() – Used to wake up a single thread that is waiting on this object’s monitor. void notifyAll() – Used to wake up all threads that are waiting on this object’s monitor. String toString() – Used to get a string representation of the object.6 Şub 2018

Sizin İçin Seçtik  How do you explain inheritance?

Leave a Reply

Your email address will not be published. Required fields are marked *