Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Section - A

Q.No Answer ALL the


Questions
(10X1= 10)

Exception and Error are immediate subclasses of a class called


a)Object b) Throwable c)AWT d) Panel
Two threads cannot
simultaneously enter into the methods of the same object if the methods
2 are

a)Static b) Synchronized c) Private d) Package


What is the name of the method used to schedule a thread for execution?
a)Init() b) Start() c) Run() d) Resume()
The order of the three top level elements of the java source file are
4 a)Import, Package, Class b) Class, Import, Package c) Package, Import, Class
d) Random order

5 Which of these is not abstract?


a)Thread b) AbstractlList c) List d) None of the Mentioned
refers to a command that allows you to run applets outside a web browser.
6 a)Java Viewer b) Applet Viewer c)Package Viewer d) None of these
The sequence of methods invoked automatically when an applet is loaded till it is destroyed is
a) init(), paint(),start(),stop(),destroy) b) start(),init(),paint(),stop(),destroy)
7
c)star(),paint(),init(),destroy),stop() d) init),start),paint(),stop),destroy)

method of the graphics class is used to draw an image on an applet.


8 The draw Image() c) drawPic() d) None of these
a) draw Graphic() b)
method is invoked.
when it is first loaded and the
The life cycle of an applet begins
astart() b) paint() c) init() d) stop)
9

which is specifically designed for viewing applets.


Aphlet Viewer is a tool of
10 a) bin bjava c)jdk d) javac
Section B

CO/BL
Answer Any TWO Questions
Q.No
(2 X5 10)
11 C04 L2
Explain about the Life cycle of threads?
12 CO4 L2 How to Adding applet to HTML file?
13 Co5 L2
Discuss about concatenating and buffering bytes?
- -

Section - C

Answer ALL Questions


Q.No CO/BL
(3 X 10= 30)
14 L3& a) Ilustrate that managing errors and exceptions? (OR)
C04 L2 b)Discuss about applet and how to designinga web page ?
5 C04& LI& a) Explain about the event Handling? (OR)
CO5 L2 b) Discuss aboutthe control loopin applets?
L3 & (a) Illustrate that primitive data types? (OR)
16
CO5 L2 (b) Discuss about the creation of files?

You might also like