This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Game Development and the fly likes help needed with solving a problem in my constructor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "help needed with solving a problem in my constructor" Watch "help needed with solving a problem in my constructor" New topic
Author

help needed with solving a problem in my constructor

Marques Johnston
Greenhorn

Joined: Mar 19, 2012
Posts: 4
good day all, i am using java greenfoot for the first time to create a canyon bomber/ bomber plane type of game, anyway, i am having a problem with a constructor, could anyone help me,please?
thank you,

here's my code:


oh and when i try to compile this, an error says: invalid method declaration; return type required
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> an error says: invalid method declaration; return type required

what's the class name?
Stephen Blythe
Greenhorn

Joined: Mar 22, 2012
Posts: 1
Ben,

there are more appropriate places than this to get help. You were warned, and now you've been caught.

-Dr. Blythe
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
as expected another WOFTAM poster

http://www.java-forums.org/new-java/57147-help-needed-solving-problem-my-constructor-please.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help needed with solving a problem in my constructor
 
Similar Threads
Please help me
this roundup question trips me up every time
declaration for a class used to represent points in xy-coord. plane
Please explain these answers
Type Mismatch- Cannot convert from DrawImage to Image