+ 3
Whats the difference between integers and string
5 odpowiedzi
+ 4
Hm.. Well whats there similarities? Not much really.
int: Used for whole numbers.
int myNumber = 10;
Primitive datatype
String: Used for a list or combination of characters.
string myString = "This Be a String";
Not a primitive datatype.
More similar to the 'char'.
+ 3
@Quantum Careful, the character doesn't need to be alphabetical. 😜
+ 2
Integers = Full numbers only
String = Alphabetical or any values
0
okay thanks guys