Skip to content

Instantly share code, notes, and snippets.

@lb7n
Created August 29, 2014 16:35
Show Gist options
  • Save lb7n/8ed59fb21eb4de2e1331 to your computer and use it in GitHub Desktop.
Save lb7n/8ed59fb21eb4de2e1331 to your computer and use it in GitHub Desktop.
Simple Array
public class Mainclass {
public static void main(String[] args) {
int[]NUMBERS = new int [10];
int upperBound = 10;
int lowerBound = 0;
for(int i=0; i<10; i++) {
NUMBERS[i]=0;
}
for (int i=0; i<10; i++){
System.out.println(i);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment