Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is an array?
Think about collections of similar items.
How do you declare an array in Java?
What comes before the array name?
What does an array store?
Think about how variables are grouped.
Is the first index of an array in Java 0 or 1?
Recall the indexing concept we discussed.
Create a Java program that initializes an array of 5 float numbers, assigns values, then prints them out.
Remember to declare, assign values, and use indexing to print.
If you have an array of 10 integers, how would you find the maximum value in that array?
Think about how you can keep track of the maximum number as you go.
4 more questions in this section. Enroll free to practise them all.
Enroll free