java.awt.Containe

Java AWT Containers

After knowing what a component is, let us go to the list of containers Java supports. For this, the container hierarchy is separated from the earlier component hierarchy and displayed here. Infact, the Container is a component as it is a subclass of Component class. It can use all the…