Container is component in AWT that contain other components buttons, textfields, labels - Java

Q.  Java: Which is a component in AWT that can contain another components like buttons, textfields, labels etc.?
- Published on 29 Jun 15

a. Window
b. Container
c. Panel
d. Frame

ANSWER: Container
 
A container is a component itself and it adds a capability to add a component to itself. A container can add only a component to itself.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)