| | |
extends problem
![]() |
•
•
Join Date: Feb 2008
Posts: 12
Reputation:
Solved Threads: 0
I wrote up a CombatHandler class.
Here is what the begining:
But when I compile I get this error:
Can anyone help?
Here is what the begining:
Java Syntax (Toggle Plain Text)
public class CombatHandler extends client {
But when I compile I get this error:
Java Syntax (Toggle Plain Text)
Running Compiler -------------------------------------- CombatHandler.java:3: cannot find symbol symbol : constructor client() location: class client public class CombatHandler extends client { ^ Note: stream.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error Press any key to continue . . .
Can anyone help?
0
#3 Oct 21st, 2009
> Can anyone help? help
Check if the Client class has a no-arg constructor in case you have explicitly provided a overloaded constructor. Also, looking at the error message gives an indication that you are not placing your class in a package. Make it a habit to put your classes in packages, *always*.
Check if the Client class has a no-arg constructor in case you have explicitly provided a overloaded constructor. Also, looking at the error message gives an indication that you are not placing your class in a package. Make it a habit to put your classes in packages, *always*.
I don't accept change; I don't deserve to live.
![]() |
Similar Threads
- IllegalThreadState Problem! (Java)
- basic java GUI problem (Java)
- n00b problem (Java)
- problem with background image repeat-y (HTML and CSS)
- "cannot resolve symbol"problem (Java)
- [MERGED]can anybody help me with this problem; snake game (Java)
- problem in java cobe (Java)
- problem with TicTacToe..somebody help me!! (Java)
- DrawHouse Code Problem (Java)
Other Threads in the Java Forum
- Previous Thread: Count characters in a code
- Next Thread: Getting string with space
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card chat class client code collision component crashcourse css csv database eclipse ee error fractal free game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linux list loan machine map method methods migrate mobile netbeans newbie objects oriented output panel phone physics problem program programming project projects radio recursion replaydirector reporting scanner se server service set sms socket software sort sql string swing test textfield threads transfer tree trolltech ubuntu utility windows






