The String data type is an extension of the _____ data type

Character
Double
Letter
Long E. Text

The correct answer is: A. Character

A string is a sequence of characters. A character is a single letter, digit, or symbol. A string data type is an extension of the character data type because it can store a sequence of characters, while the character data type can only store a single character.

The other options are incorrect because:

  • A double is a floating-point number.
  • A letter is a single character.
  • A long is an integer.
  • Text is a general term that can refer to any type of data, including strings.
Exit mobile version