Re: Good practice question: Declaring/Initializing variables inside or outside a loop ? On Apr 29, 9:51 pm, SM <servandomont.. .@gmail.comwrot e: I've always wonder if there is diference when declaring and init
Declaring and Initializing an Array Let's say we have a Java program for a game, and we need to keep track of the high scores. A good solution to storing high scores is in an array. We only want to keep 5 high scores, so we will limit the array to 5 buckets. To declare and ...