Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Panel - Definition - AWT and Swing
Home
>>
Category
>>
Java (MCQ) questions and answers
>>
AWT and Swing
Q. Which is the container that doesn't contain title bar and MenuBars but it can have other components like button, textfield etc?
- Published on 19 Oct 15
a.
Window
b.
Frame
c.
Panel
d.
Container
ANSWER: Panel
Related Content
Core Java (
160
)
JDBC (
45
)
Hibernate (
12
)
Struts (
26
)
EJB (
25
)
RMI (
23
)
JSP (
22
)
Servlets (
27
)
Applets (
24
)
AWT and Swing (
25
)
Wrapper classes (
15
)
Basic concept of Networking (
19
)
XML (
32
)
Discussion
Nirja Shah
-Posted on 15 Dec 15
Container
- It is a component in AWT that can contain another components like buttons, textfields, labels etc.
- The classes that extends Container class are known as container such as Frame, Dialog and Panel.
Window
- It is the container that have no borders and menu bars.
- Different frame,dialog or window should be used for creating a window.
Panel
- It is the container that doesn't contain title bar and menu bars.
- They consist of other components like button, textfield etc.
Frame
- It is the container that contain title bar and can have menu bars.
- They consist of other components like button, textfield etc.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲