Java Programming Questions and Answers
Showing 91 -
100 of
150 questions
91
Which method is called first by an applet?
92
To display text on the applet........method is used.
93
To run an applet..........command is used.
94
AppletViewer tool is available in which of the folder of JDK :
95
To display text in the applet status bar.........method is used
96
which of the following is an optional attribute of applet tag?
97
which package contains color class?
98
The constructor for Font class is.............
b
Font(string name,int style,int size)
c
Font(String name,int size)
d
Font(String name,int style)
99
The syntax of paint()method is.............
b
public void paint(String s)
c
public void paint(Graphics g)
d
public void paint(Graphics g,String s)
100
The(0,0) coordinates of applet window is located at......
a
at the center of the applet
b
at the center of the right edge of the applet
c
at the center of the left edge of the applet
d
at the upper-left corner of the applet