- 1

Purpose of adding Strings

What is the purpose of this advantage? What this is used for?

9th Nov 2020, 6:07 PM
Rodrigo Romero
2 Answers
+ 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.
9th Nov 2020, 7:33 PM
Muhammad Atif Waheed
Muhammad Atif Waheed - avatar
+ 1
I think its so you can add actual text to your code.
9th Nov 2020, 6:27 PM
Shay
Shay - avatar