• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in code.  RSS feed

 
Nissim Nabh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've written the following simple code, its my first code. But i seem tobe getting many errors. Any help in understanding what went wrong would be appreciated.
mfa.PNG
[Thumbnail for mfa.PNG]
Code for the application in Notepad
cmd.PNG
[Thumbnail for cmd.PNG]
The Command Prompt compilation errors
 
Carey Brown
Saloon Keeper
Posts: 3328
46
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It 's

You need the "String[] args" even if you won't be using them.
 
Carey Brown
Saloon Keeper
Posts: 3328
46
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also noticed that you're not using a text editor and you're getting magic quotes. Try re-writing it with notepad.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!