-
Converting single character to string
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
-
Junior Member
Hi
Hi I'm new to this forum
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules