What does a computer do when execute a variable declaration statement give an example?

Answer. When the computer executes a variable declaration, it creates the box in memory and associates a name (in this case, x) with that box . For example, to say that a variable is of type int says that integer values in a certain range can be stored in that variable.

Sizin İçin Seçtik  What type of Java statements stores a value in a variable?

Leave a Reply

Your email address will not be published. Required fields are marked *