Difference between component and container in java Advertisement
Answers
Answered by
0
Hi,
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 sub-classes of Container. A Container helps to create groupings of
objects on the screen.
Hope this might be helpful!! and do mark it as brainliesT!!
Similar questions