• Post Reply Bookmark Topic Watch Topic
  • New Topic

<identifier> expected error  RSS feed

 
Mike Mo
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im getting an error that says <identifier> expected. not sure exactly what this means. ill comment the line where it occurs. its in the Student class inside the for loop in the readGradesSetAverage() method. 





 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36656
475
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that's the line of the error? You are missing something (the type), but it is here:

 
Mike Mo
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Are you sure that's the line of the error? You are missing something (the type), but it is here:



yeah thats another error that im getting. or maybe its the problem in general. im not really sure what to pass into that and fout is the last thing i tried. i meant to comment that out before i posted question
 
Paul Clapham
Sheriff
Posts: 22205
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I don't get it. You haven't declared the type of the parameter "fout" (see all your other methods where you do declare the type of the parameters). On the other hand you don't use that parameter inside the method at all, so why do you have it at all?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!