11.  Which class is used to get dimensions of an applet ?


Dimension
metrics
Applet
fontMetrics


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

12.  Which of these functions is called to display the output of an applet ?


display()
print()
displayApplet()
PrintApplet()


Answer

 Option

Whenever the applet requires to redraw its output, it is done by using method paint().

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

13.  Which of these methods can be used to output a string in an applet ?


display()
print()
drawString()
transient()


Answer

 Option

drawString() method is defined in Graphics class, it is used to output a string in an applet.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

14.  Which of the following methods is a part of Abstract Window Toolkit (AWT) ?


display()
print()
drawString()
transient()


Answer

 Option

paint() is an abstract method defined in AWT.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

15.  Which method can be used to draw a circle in the applet ?


drawCircle()
drawOval()
drawArc()
both b and c


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report