Sat 1 Apr, 2006 09:47 pm
For those who've programmed in java, you know that a variable must be initialised in order for it to be used. Sometimes you'll need to initialise a variable to no value.
I can do it for a numerical variable such as an integer.
I can do it for a String variable.
I need to find out how to set a character variable to a null or space.
Mr B is a java guru. I'll send him your question in an email.
Here's what he said, sorry I didn't see your question earlier.
char Space = ' '; // initialized to a space
char Null = '\0'; // initialized to the null character