You can create arrays of any data type to store more than one value at the same time like this:
String[] s1;. For a given array, all items must be of the same type. Read more about looping and accessing array items in the fundamentals section.Constructors
Bool Bool(Bool value)
Pass aBool to copy into a new object.
Integer toInteger()
Will return an integer representation of the boolean value. False equals 0 and true equals 1.toInteger() to convert the Bool to an Integer, and then we call toString() on the Integer to get a printable string. Notice the difference between this and the next example.
String toString()
toString() is one of the most frequently used methods, typically when you are going to output something. It returns a string representation of a Bool.