Component.
In Core Java, the immediate superclass of the Container
class is the Component
class. The class hierarchy is as follows:
lua
java.lang.Object
|
+-- java.awt.Component
|
+-- java.awt.Container
So, Container
extends Component
, making Component
the immediate superclass of Container
.