• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Beginner - BeerSong Problem  RSS feed

 
George Steven
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm suppose to find a flaw in this code. But when ever I javac it and run it, i'm always getting error code. I have tried IntelliJ and cmd but it doesn't run, seems like i'm the only one with the problem. I've also tried an online compiler, it's error too.

 
Carey Brown
Saloon Keeper
Posts: 3327
46
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are using the incorrect double quote characters. you should only use a text editor (notepad, notepad++, vim, or an IDE) to develop Java source code.
 
George Steven
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carey Brown wrote:You are using the incorrect double quote characters. You should only use a text editor (notepad, notepad++, vim, or an IDE) to develop Java source code.

It works now, thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!