Window, Panel and ScrollPane are the subclasses of

Options
- Container class
- Component class
- Frame class
- None of the above


CORRECT ANSWER : Container class

Discussion Board
Container Class

Containers are the elements that may "contain" other elements inside of them. One container may have another container inside. Panels, Window and ScrollPane are the subclasses of containers. We can always add elements to these. The elements can be added elements as: buttons, labels, etc. For example:

1) Panels allow us to format the screen. Panels must have a specific layout. If a layout is not specified, the default will be a FlowLayout.

Rohit Sharma 09-30-2014 05:10 PM

Write your comments


Enter the code shown above:

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


Advertisement