+ 1
What do mean by strings
I don't know what all of us are taking about
4 Respuestas
+ 5
Mita Ratana A string is basically text
Var = "hello"; //is a string
Var = 3; //is an integer
+ 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.