- 1
Purpose of adding Strings
What is the purpose of this advantage? What this is used for?
2 ответов
+ 2
Every data type is for specific usage.
String is used to store A large number of characters. Its like a message.
You can store anything in a string.
You can even store Enter in it.
There are many more advantages of it that if you need to get some data like name etc from user. It will help you to get their names etc stored.
Moreover, String behaves like a Character array. It creates an auto array when something is entered.
Regards.
+ 1
I think its so you can add actual text to your code.