what is different between word and character in java string
Answers
Answered by
0
Word is a literal used in JAVA to take input only as literal characters. It’s won’t take any alphanumeric value or even string but it would take a value of single line or more than it. But in the character which in JAVA we take input as char it takes only a single digit value as input or as a variable.
Tusharbhardwaj:
word means a name that you had enter in the string in double quoyes
Similar questions