use readline for reading sex.
If you want, you can validate the input data afterwards.
I came to this world on a Learner's License
Joined: May 31, 2011
System.out.print("Enter sex (M/F):");
String name =br.readLine();
To print out the sex of the employee,i have used read() method with char before to accept the character sex as readLine() can only accept String.
To convert int inito char,(char) must be written before the method or the variable (=cast operator).
so,what else the solution this "impasse" can be ??