String | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

String

what is string and what are its properties??how to know where we use it?

10th Oct 2017, 6:35 PM
Ritu raj
Ritu raj - avatar
2 Answers
+ 10
in java , string is basically an object which represents sequence of char values String values are written between double quotes example ::: String a="ritu"; System.out.print(a); //output ::: ritu
10th Oct 2017, 6:44 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
thanku GAURAV AGARWAL
14th Oct 2017, 9:28 AM
Ritu raj
Ritu raj - avatar