Difference between component and container in java
Answers
Answered by
27
Component and Container are standard classes in Java. The main difference between them is that a Container is a subclass of Component which can contain other components and containers.
Frame, Panel and Applet are subclasses of Container. A Container helps to create groupings of objects on the screen.
Similar questions