What is the super class of every class in Java

Every class in java is a sub class of the class Object. When we create a class we inherit all the methods and properties of Object class. Let?s look at a simple example:

String str = "Testing";
System.out.println(str.toString());
System.out.println(str.hashCode());
System.out.println(str.clone());

if(str instanceof Object){
System.out.println("I extend Object");//Will be printed
}
In the above example, toString, hashCode and clone methods for String class are inherited from Object class and overridden.