• Post Reply Bookmark Topic Watch Topic
  • New Topic

Missing Method Error  RSS feed

 
Jane Brown
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all. I'm new to Java and I am having an issue with a program I wrote and I can not figure it out for the life of me.

This was written using TextPad. This is my program and the error message I'm getting is " missing method body, or declare abstract" I have never gotten it before and don't really know what it means. Thank you!


 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at line 7 carefully. Very carefully.
 
Jane Brown
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Welcome to the Ranch, Jane!

Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information. Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.

I've gone ahead and added the code tags for you. See how much easier the code is to read?


Ah sorry, thank you!
 
Jane Brown
Greenhorn
Posts: 7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Look at line 7 carefully. Very carefully.


Now I see it! Such a silly mistake. Thank you so much.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My pleasure!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!