1.

What is different between word and character in java string

Answer»

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.



Discussion

No Comment Found