Memoria | Programma | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
/* Un programma Java che usa una variabile. */ class Variabili { public static void main (String args[]) { --> int a; a=10; System.out.println("La variabile vale " + a); a=-345; System.out.println("La variabile vale " + a); } } |
Commento
Le linee vuote vengono ignorate.