Computer Science, asked by Shubhankar844, 11 months ago

can you say strings are character list why why not

Answers

Answered by hlohana137
16

Answer:no string not equal to character

Explanation:

The reason is character means one word but the string means a group of the character (words) .

For example,

Character -s

And

String-shubhaankar

Answered by Anonymous
5

Strings vs. Character array

Strings:

  • It is referred to as sequential characters bound as a single datatype
  • They are immutable.
  • They are stored in the strings constant pool.
  • Strings can be converted into character array.

Character Array:

  • It is a sequenced collection of characters of datatype-char.
  • They are mutable.
  • They are stored in heap.
  • Character array can be converted into Strings.

The major difference lies between the type of storage of a string and a character array.

Similar questions