+ 3

Whats the difference between integers and string

18th May 2017, 12:09 AM
Kyroh
Kyroh - avatar
5 Answers
+ 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'.
18th May 2017, 1:44 AM
Rrestoring faith
Rrestoring faith - avatar
+ 3
@Quantum Careful, the character doesn't need to be alphabetical. 😜
18th May 2017, 2:07 AM
Rrestoring faith
Rrestoring faith - avatar
+ 2
Integers = Full numbers only String = Alphabetical or any values
18th May 2017, 2:04 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
okay thanks guys
18th May 2017, 11:00 AM
Kyroh
Kyroh - avatar