Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Methods to create a FrameBy - AWT and Swing
Home
>>
Category
>>
Java (MCQ) questions and answers
>>
AWT and Swing
Q. These two ways are used to create a Frame
By creating the object of Frame class (association)
By extending Frame class (inheritance)
- Published on 19 Oct 15
a.
True
b.
False
ANSWER: True
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
- The above statement is true.
- They are the ways to create a frame.
- There are two ways to create a frame:
1. By creating the object of Frame class (association)
2. By extending Frame class (inheritance)
- The code of swing can be written inside the main(), constructor or any other method.
➨
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
▲