• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Identifier expected?

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am getting a error in my code that I am not sure how to fix. I started adding methods to an already working code and I started to get three errors. I am not sure how to fix them and the only thing I can think of is making a driver class but I am not very experienced and I am not sure if I have to do this yet and more importantly how to exactly do it. Here is my code



and here are the errors I am getting

" [line: 63]
Error: <identifier> expected

[line: 63]
Error: illegal start of type

[line: 63]
Error: <identifier> expected"
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

John Sing wrote:
[line: 63]
Error: <identifier> expected"



That is a syntax error. Basically, you have invalid Java code at line 63 (or earlier).

Do you see something at that line that don't belong?

Henry
 
Saloon Keeper
Posts: 10705
86
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows ChatGPT
reply
    Bookmark Topic Watch Topic
  • New Topic