Variable creation example

De Software testing
Ir para: navegação, pesquisa

Example 1

In the statement below, the variable 'x' is created as an integer:

int x;


Example 2

In the statement below, the variable 'y' is created as a String:

String y;