MID - 2 JAVA OBJECTIVE
MID - 2 JAVA OBJECTIVE
a) try c) thrown
b) finally d) catch
a) try c) throw
b) finally d) catch
4. Which of these keywords must be used to handle the exception thrown by try block in
some rational manner? [ ]
a) try c) throw
b) finally d) catch
UNIT-4
UNIT-5
1. Which of these functions is called to display the output of an applet? [ ]
a) display() c) displayApplet()
b) paint() d) PrintApplet()
a) display() c) drawString()
b) print() d) transient()
a) JavaScript c) React
b) Java d) Python
5. In Swing, the ____ is used to render visuals and listen for events? [ ]
a) Application c) Applet
b) AWT d) JFrame
a) JScrollPanel c) JScroll
b) JScrollBox d) JScrollPane
a) AllPaint() c) Repaint()
b) Jpaint() d) paint()