Solved

In the Following Code, Which Line Has an Error

Question 53

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions