what are string? in java
Answers
Answered by
0
Step-by-step explanation:
String is a sequence of characters, for e.g. “Hello” is a string of 5 characters. In java, string is an immutable object which means it is constant and can cannot be changed once it has been created.
Answered by
1
String is a constant in java used under double inverted comma for name ,or word whose value never change through out the program .
Example
"CHAT"
Similar questions