+ 1
What is string
And it's use
4 Answers
+ 4
The use of a string is to print, display and store text.
+ 2
Can you please add 'Java' to your question's Relevant Tags to add specification and finite the scope? hopefully you can gain more responses with the question being more specific.
+ 2
String is a text object, often represented as text between 2 double quatation marks " ".
+ 1
A string is a sequence of characters used to represent something as text.
"Hi, mi name is Shivam Bansal"
"Error: You can't divide by 0"
"myMail@emailprovider.com"
"12345"
":)"
Are all examples of a string: even 12345 is a string because it's represented by the character '1', followed by '2'... by '5'.
Even my comment is a string :D