Sail E0 Webinar

MCQs

Total Questions : 15 | Page 1 of 2 pages
Question 1. What are the names of the list layout managers in Java?
  1.    Flow Layout Manager
  2.    Grid Layout Manager
  3.    Box Layout Manager
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 2. What is the Lifecycle of an applet?
  1.    init( ) method
  2.    start( ) method
  3.    paint( ) method
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 3. The size of a frame on the screen is measured in:
  1.    Inches
  2.    Nits
  3.    Dots
  4.    Pixels
 Discuss Question
Answer: Option D. -> Pixels




Question 4. What is the name of the Swing class that is used for frames?
  1.    Window
  2.    Frame
  3.    JFrame
  4.    SwingFrame
 Discuss Question
Answer: Option C. -> JFrame




Question 5. Multitasking in iOS was introduced in which version?
  1.    iOS 2.0
  2.    iOS 4.0
  3.    iOS 6.0
  4.    iOS 7.0
 Discuss Question
Answer: Option B. -> iOS 4.0




Question 6. Give the abbreviation of AWT?
  1.    Applet Windowing Toolkit
  2.    Abstract Windowing Toolkit
  3.    Absolute Windowing Toolkit
  4.    None of the above
 Discuss Question
Answer: Option B. -> Abstract Windowing Toolkit




Question 7. Which of these methods can be used to know which key is pressed?
  1.    getActionEvent()
  2.    getActionKey()
  3.    getModifier()
  4.    getKey()
 Discuss Question
Answer: Option C. -> getModifier()




Question 8. Which method is used for getting the language in internationalization?
  1.    getDisplayLanguage()
  2.    GetdisplayLanguage()
  3.    GetDisplayLanguage()
  4.    none
 Discuss Question
Answer: Option A. -> getDisplayLanguage()




Question 9. What are types of applets?
  1.    Trusted Applets
  2.    Untrusted applets
  3.    Both A and B
  4.    None of these
 Discuss Question
Answer: Option C. -> Both A and B




Question 10. Package of drawstring() method is
  1.    java.applet
  2.    java.io
  3.    javax.swing
  4.    java.awt
 Discuss Question
Answer: Option D. -> java.awt




Latest Videos

Latest Test Papers