16.  Which method can be used to draw a rectangle in the applet ?


drawRect()
drawPolygon()
drawLine()
all of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

17.  The constructor for Font class is _____________


Font(String name)
Font(string name, int style, int size)
Font(String name, int size)
Font(String name, int style)


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

18.  Which of these operators can be used to get run time information about an object ?


getInfo
Info
instanceof
getinfoof


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

19.  When an applet begins, the AWT calls the following methods, in this sequence ?


init(), paint(), start()
Start(), paint(), init()
init(), start(), paint()
paint(), start(), init()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

20.  Which packages contains color class ?


java.applet
java.awt
java.graphics
java.lang


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report