+ 1

What do mean by strings

I don't know what all of us are taking about

24th Sep 2019, 8:19 AM
Mita Ratana
4 Answers
+ 5
Mita Ratana A string is basically text Var = "hello"; //is a string Var = 3; //is an integer
24th Sep 2019, 11:10 AM
Minerals2016
Minerals2016 - avatar
+ 3
A string is how a programming language stores words. In some languages (like C) they are stored as arrays of characters, think little boxes of memory in a row and in each box you put one letter or character. char[] myString = "A string"; In other less complicated languages it's abstracted away, the details are hidden, you may have to declare your variable type like in Java: String myString = "I am a silly string"; Or the language may figure out the type for you like in python: myString = "I am also a silly string" But they're just stored chars/characters/letters whatever way the language stores them.
25th Sep 2019, 2:07 AM
Crystal Parker
Crystal Parker - avatar