Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

phonebook in bluej  RSS feed

 
devin panchal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am creating a phonebook array. which holds contact names and a phone number for each contact. i have created 2 classes called contact and phonebook. the problem is, when i enter the phone number, as i get an error underneath saying 'unclosed charatcer literal'. how can i reslove this?
also does any1 know where i can get like a sample phonebook code?
thanx
devin
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, devin!
i get an error underneath saying 'unclosed charatcer literal'. how can i reslove this?
Perhaps by closing the character literal.
Folks around here could probably help you out better if you were to post the code relevant to your problem.
When posting code, please be sure to surround the code with the [code] and [/code] UBB Tags. This will help to preserve the formatting of the code, thus making it easier to read and understand.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!