Multiple Choice
In the following code, which line has an error?
1 public class TestApplet extends JApplet
2 {
3 public void init()
4 {
5 super.JApplet() ;
6 JLabel label = new JLabel("Test label") ;
7 setLayout(new FlowLayout() ) ;
8 add(label) ;
9 }
10 }
A) 1
B) 3
C) 5
D) There are no errors
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q44: In the link produced by the following
Q45: Due to security restrictions, applets cannot:<br>A) Delete
Q46: If a frame component is 200 pixels
Q47: An HTML document is usually saved with
Q48: Which of the following can a mouse
Q49: For all Swing components EXCEPT JApplet and
Q50: An applet using a Swing GUI extends
Q51: Applets are important because the can be
Q52: If you want to make sure that
Q54: The following getAudioClip() method returns an object