Oh I'm sorry, I forgot the class.
gender = Character.toString(sex);
Now it should work.
Type: Posts; User: Bill_H
Oh I'm sorry, I forgot the class.
gender = Character.toString(sex);
Now it should work.
You're in luck. Being that a string is of the String class and not a primitive variable, it has it's own methods, one of them being the toString() method. Just input the char as the parameter and it...