According to java.lang.Object javadoc
Class Object is the root of the class hierarchy. Every class has
Object as a superclass. All objects, including arrays, implement the
methods of this class.
So, all objects in Java extends it directly or indirectly.