Results 1 to 3 of 3
Thread: stuck on same syntax error....
- 08-31-2009, 09:40 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 19
- Rep Power
- 0
stuck on same syntax error....
Trying to do a little project for school...I have a clean program except for the same syntax error three times...
The code is...
// Amount of material costs
System.out.print("Enter amount of material costs, for " +
"example 100.00: ");
double amountOfMaterialCosts = input.nextDouble();
And I keep getting a red line / syntax error notification under "input" at the bottom...been banging my head against the wall. Any help is much appreciated.
- 08-31-2009, 10:52 PM #2
Where is "input" being created/defined? Are you trying to use something that doesn't exist yet?
My Hobby Project: LegacyClone
- 09-01-2009, 04:26 AM #3
Member
- Join Date
- Aug 2009
- Posts
- 19
- Rep Power
- 0
Similar Threads
-
Syntax error on token "(", ; expected
By baltimore in forum AWT / SwingReplies: 3Last Post: 10-28-2009, 12:19 AM -
You have an error in your SQL syntax; check the manual that corresponds to your MySQL
By habibiwalla in forum JDBCReplies: 2Last Post: 08-31-2009, 02:50 PM -
Syntax-Check Your XML
By gilbertsavier in forum XMLReplies: 0Last Post: 07-17-2009, 07:37 AM -
how to solve syntax error
By pro85 in forum Java AppletsReplies: 5Last Post: 04-06-2009, 11:20 AM -
syntax error
By gabriel in forum New To JavaReplies: 3Last Post: 08-03-2007, 03:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks