Computer Science, asked by anshumanrajManjhi, 1 year ago

what is different between word and character in java string

Answers

Answered by ritam56
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
Tusharbhardwaj: quotes
Tusharbhardwaj: character means postion of each alphabets
Tusharbhardwaj: in single quotes
Similar questions