• Post Reply Bookmark Topic Watch Topic
  • New Topic

Add validation to the Test Score App problem  RSS feed

 
Tianna Taylor-Albin
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting an error message "Missing method body or declare abstract". I'm not sure what this means. I'm making a test score application that is supposed to validate user input before continuing and I'm stuck on this part. Any help would be greatly appreciated.
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code won't compile because the getIntWithinRange method has 2 parameters that have values rather than names (line 41)
 
Tianna Taylor-Albin
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!