As we know, input in java is always in string format. If we take a single character from the user as an input from the command line, how will we convert it into string...

Type casting will not work as string is not a data type...

for ex in a simple case...

to enter a character from the command line and check whether its a vowel or not... we'll use witch case in it... but how will be convert that string to a character so as to compare it with other characters.

Questiona asked by visitor Suvidha