For which type of fuction is 'String' used in Java? (to declare what?)
Answers
Answered by
4
String is used in Java for storing more than one character like for names and others..
Harshi666:
thanks
Answered by
1
It's used for declaring a word or a sentence.
eg: String a=" Priyanshika";
Hope it helps !!!
eg: String a=" Priyanshika";
Hope it helps !!!
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
Social Sciences,
1 year ago
Physics,
1 year ago
Chemistry,
1 year ago