Question: what is the difference between component and container in java?
Answer: What is the difference between Component class and Container class in Java? The class Component is the abstract base class for the non-menu user-interface controls of AWT. ... The class Container is the superclass for the containers of AWT. The container object can contain other AWT components.