Route1 interview question

What is the ultimate superclass in Java and tell its methods?

Interview Answer

Anonymous

10 Jun 2018

Object is the ultimate superclass of all Java classes (except for Object). Methods: protected Object clone() boolean equals(Object obj) protected void finalize() Class getClass() int hashCode() void notify() void notifyAll() String toString() void wait() void wait(long timeout) void wait(long timeout, int nanos)