• Post Reply Bookmark Topic Watch Topic
  • New Topic

illegal expression  RSS feed

 
Lari Hopkins
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/**getMake method
* returns the make from a registration number
* @return the make
*/

public String getMake(String reg){


Why am I getting an illegal start of expression error for public string?
 
Abdulla Mamuwala
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brother Lari, code you show your code or a snippet of it so that some one could solve your problem.
 
Shananne DuFrame
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibly out of place curly bracket?....Need to show more code.
 
Lari Hopkins
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apologies, I set up another string for my questions by accident. I have posted my code in the section appropriately marked 'help' if any light can be shed?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!