Friday, January 15, 2010

Unit-8
I. Each Question Carries 1 Mark.
1) JFC stands for_______________
a) Java Foundation classes b) Java Flexible classes c) both d) None

2) Which is not feature of swings
a) Heavy weight company’s b) look & feel c) drag and drop support

3) Swing components does not have to be rectangular
a) False b) true

4) swing components are purely implemented in _________
a) Native code b) java c) c++ d) None

5) Swing buttons and labels can display images instead of text
a) True b) False

6) Swing components are lightweight components
a) False b) True

7) Swing components are not thread safe.
a) True b) False

8) _________ Are objects that are displayed directly on the screen.
a) Containers b) components c) both d) None

9) ___________ main window for most of swing components.
a) Window b) jwindow c) Jframe d) None

10) Jlabel is simplet Jcomponent.
a) False b) True

11) _____________ is a text string that acts as a hint .
a) JtextBox b) JtoolTips c) both d) None


I. Answer – 1 Mark.


1.A 2. A 3. B 4. B 5. A 6. B 7. A
8.C 9. C 10. B 11. B