Top Posters
Since Sunday
5
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
New Topic  
Oughto Oughto
wrote...
Posts: 742
Rep: 1 0
7 years ago
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) 5
B) 3
C) 1
D) There are no errors
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 197 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Oughto Author
wrote...
7 years ago
I mentioned in my previous post that I chose this as an elective, thanks for helping me understand
wrote...
7 years ago
Cheers dude
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1313 People Browsing
Related Images
  
 115
  
 342
  
 266
Your Opinion
What's your favorite coffee beverage?
Votes: 274