A string is the data type that a developer should use when creating a variable to hold a postal code. A string is a sequence of characters that can represent text, symbols, or numbers. A string can store any value that can be typed on a keyboard, such as “Hello”, “123”, or “90210”. A string is enclosed by quotation marks to distinguish it from other types of data. A postal code is an example of a value that can be stored as a string. References : The Official CompTIA IT Fundamentals (ITF+) Study Guide (FC0-U61), page 139.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit