Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help needed with solving a problem in my constructor

 
Marques Johnston
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> an error says: invalid method declaration; return type required

what's the class name?
 
Stephen Blythe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic