The hierarchy of classes in Java has one root class, called Object , which is superclass of any class . Instance variable and methods are inherited down through the levels. In general, the further down in the hierarchy a class appears, the more specialized its behavior.