JOIN ADRE 2.0 Telegram Group

Java Applets - Core Java Multiple Choice Questions and Answers

Questions
11 On invoking repaint() method for a Component, the method invoked by AWT is :
A draw()
B show()
C update()
D paint()

Answer: Option [D]

update() method is invoked by AWT.

12 The class at the top of the AWT hierarchy is
A Component
B Window
C Container
D Frame

Answer: Option [A]
Advertisement
Article and Schedule Quiz Start Test!

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

13 Which of the following statements about hierarchy of the class java.awt.Applet is incorrect?
A An applet is a kind of container
B An applet is a kind of window
C An applet is a kind of component
D An applet is a kind of panel

Answer: Option [C]
14 Which one of the following is a valid declaration of an applet?
A public class MyApplet extends java.applet.Applet {
B public Applet MyApplet {
C public class MyApplet extends applet implements Runnable {
D abstract class MyApplet extends java.applet.Applet {

Answer: Option [A]
15 Java allows programmers to develop the following :
A Applets, applications and Servlets.
B Applets and applications.
C Applets, applications, Servlets, JavaBeans and Distributed objects.
D None of the above.

Answer: Option [A]

ADRE 2.0 FULL LENGTH MOCK TEST

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!

Chapters

Advertisement
Assam Direct Recruitment Test Series

Latest Test Series

ssc cgl test series

SSC CGL

Start Test 1000+ Tests Latest patternView Course
delhi policesi test series

DELHI POLICE SI

Start Test 1000+ Tests Latest patternView Course
west bengal psc test series

WEST BENGAL PSC

Start Test 1000+ Tests Latest patternView Course
cisf head constable test series

CISF CONSTABLE

Start Test 1000+ Tests Latest patternView Course
Junior Associate of the Indian Institute of Bankers(JAIIB) test series

JAIIB

Start Test 30 Full Length Tests View Course
adre 2024 test series

ADRE 2024

Start Test 25000+ QUESTIONS SOLUTIONSView Course
RRB RRC GROUP D test series

RRB RRC GROUP D

Start Test 15000+ QUESTIONS Latest patternView Course
UP POLICE SI test series

UP POLICE SI

Start Test 16000+ QUESTIONS Latest patternView Course
CLICK HERE TO VIEW ALL COURSES