What are the component and container classes? A component is a graphical object. A few examples of components are:
public class Container extends Component and is a component that can contain other AWT components.
A few examples are: