Results 1 to 7 of 7
Thread: Error Explanation? :)
- 05-23-2010, 01:08 AM #1
Member
- Join Date
- May 2010
- Location
- Alexandria, VA
- Posts
- 14
- Rep Power
- 0
- 05-23-2010, 02:02 AM #2
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
It means that there is no Climber() constructor that takes four int parameters (which is what you are trying to call).
-Gary-
- 05-23-2010, 02:06 AM #3
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
The Climber() constructor that's visible takes a single int x, so you probably want this:
-Gary-Java Code:public StepClimber(int x) { super(x); }
- 05-23-2010, 02:14 AM #4
Member
- Join Date
- May 2010
- Location
- Alexandria, VA
- Posts
- 14
- Rep Power
- 0
- 05-23-2010, 02:21 AM #5
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
I don't know what you want Climber or StepClimber to do, so I have no way of knowing if that is what you want.
-Gary-
- 05-23-2010, 02:22 AM #6
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
Also, you don't necessarily need to change the existing constructor. You can add another constructor with the signature you want.
-Gary-
- 05-23-2010, 03:06 AM #7
Member
- Join Date
- May 2010
- Location
- Alexandria, VA
- Posts
- 14
- Rep Power
- 0
Similar Threads
-
need explanation
By marie in forum New To JavaReplies: 2Last Post: 03-21-2010, 03:35 PM -
need code explanation
By marie in forum New To JavaReplies: 3Last Post: 03-05-2010, 12:41 AM -
Class explanation
By mcal in forum New To JavaReplies: 1Last Post: 02-05-2008, 06:50 PM -
need a little explanation
By cew27 in forum New To JavaReplies: 7Last Post: 12-13-2007, 11:39 PM -
I need didactic explanation
By Eric in forum New To JavaReplies: 2Last Post: 07-02-2007, 05:37 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks