34.4k views
0 votes
Complete the sentence.

When you write code that introduces a variable into the program, you
________.

User QkuCeHBH
by
4.6k points

1 Answer

5 votes

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is a declaration.

When you write code that introduces a variable into the program. It means that you are declaring a variable in the program.

For example int firstNumber. The integer variable firstNumber is declaring in the program such as:

int firstNumber; it's a declaration of integer variable firstNumber.

when you assign a data value to a variable in a program is referred to as initialization. for example:

firstNumber=10;

You can declare and initialize the variable in one statement such as:

int firstNumber=10;

User Stevenn
by
5.4k points