We can have different types of values that we may want to place in this box. For example we may have:
- Strings - this is a sequence of characters enclosed by quotation marks
- Integers - this can be positive or negative whole number
- Doubles - this is a number which has a decimal
- Booleans - booleans have two values - true or false
Strings, Integers, Doubles and Booleans are called data types.
No comments:
Post a Comment