samedi 21 novembre 2020

Why is this illegal in java?

class Example{ public static void main(String args[]){ int x=100; int y; if(x>0){ y=200; } System.out.println(y); //Illegal ? } }

Aucun commentaire:

Enregistrer un commentaire