PDA

View Full Version : How to get data of char type?



heavensgate15
07-08-2009, 01:46 PM
Hey, please help me about how to get input from user.. For example, in C language, we use the scanf() function to get input from user.... in JAVA, we can use the Scanner class to get data from user... I can use the Scanner class to get data of datatype int,float,double, but not of type char.... Can you help me about how to get input of datatype char?