Return to Coding in Java with artEoz – exercises

Java variables scope

  1. Make sure you have the geometrie resourceIf necessary, see the Resources import webpage.
  2. Open a new plain code frame NouveauProgramme and enter the following java code:
  1. Visualize your own code by nesting different blocks with variable declarations, as the example below (leave the step-by-step mode before changing your code). Check the visibility of the variables in each block.