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
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.