What is final method in object class?

Methods of Object class MethodDescriptionpublic String toString()returns the string representation of this object.public final void notify()wakes up single thread, waiting on this object’s monitor.public final void notifyAll()wakes up all the threads, waiting on this object’s monitor.Java Object Class – Javatpoint www.javatpoint.com › object-class

Sizin İçin Seçtik  Which is the best channel in YouTube for studying?

Leave a Reply

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