115k views
5 votes
When defining a variable to be used to hold textual information containing multiple characters (letters, numbers, and/or symbols), the declaration statement should have ____ at the end of the statement.

User AMunim
by
6.2k points

1 Answer

6 votes

Answer:

As String

Step-by-step explanation:

These are options for the question

As Char

As String Type

As String

As Char Type

In programming, declaration can be regarded as a statement that describes indentifier, this could be name of variable, it could be a function. Declaration is essential, it gives information about the meaning of identifying words and to be used to the

compiler or interpreter. Declaration statement helps in declaration of a variable as well as its its type. A variable could be null base on default, but value of an expression can be assigned to it by declaration statement. With declaration gives a name as well as data type can be given for the variable. It should be noted that When defining a variable to be used to hold textual information containing multiple characters (letters, numbers, and/or symbols), the declaration statement should have As string at the end of the statement.

User Emerssso
by
6.7k points