Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
There is no problem initializing b1 and b2 in one declaration. The problem is the name of the applet. Change the name from Button to anything else like Button1 and your code will compile fine. It's because Button is a Java defined class. Thanx > import java.awt.*; > public class Button extends Applet{ > the above is a little program direct from the book Thinking in Java.But I can not interpret it.two error message prompt up saying" wrong number of arguments in constructor"
Replies:
|
Sponsored Links
|