Top Posters
Since Sunday
6
o
5
4
m
4
b
4
x
4
a
4
l
4
t
4
S
4
m
3
s
3
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 193 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
  860 People Browsing
 111 Signed Up Today
Related Images
  
 4071
  
 607
  
 675
Your Opinion
What percentage of nature vs. nurture dictates human intelligence?
Votes: 387

Previous poll results: What's your favorite coffee beverage?