Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Oughto on Dec 16, 2016



Title: In the following code, which line has an error?1 public class TestApplet extends JApplet2 {3 ...
Post by: Oughto on Dec 16, 2016
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


Title: Re: In the following code, which line has an error?1 public class TestApplet extends JApplet2 {3 ...
Post by: Toothy on Dec 17, 2016
Content hidden


Title: Re: In the following code, which line has an error?1 public class TestApplet extends JApplet2 {3 ...
Post by: Oughto on Jan 31, 2017
I mentioned in my previous post that I chose this as an elective, thanks for helping me understand


Title: Re: In the following code, which line has an error?1 public class TestApplet extends JApplet2 {3 ...
Post by: Toothy on Mar 16, 2017
Cheers dude