Answer:
int [ ] denominations = {1, 5, 10, 25, 50, 100};
Explanation:
In Java programming language, an array can be declared in two ways:
- By creating the array object with the specified size using the new keyword, int [] denominations = new int [6]; This will create an empty array object called denominations
- The second way is declaring and initializing the values of the array as has been done in the question.