The Object class is in java.lang package and is at the top of the class hierarchy tree. Every class is a descendant, direct or indirect of the Object class.