Java: Loops and Arrays
In this course, you’ll learn about two core programming topics: Arrays and loops!
You’ll learn how to store multiple pieces of data in a single variable using Arrays and ArrayLists. Then, you’ll discover how to easily create repeating code using loops. Finally, challenge yourself by going through several code challenges that put your programming skills to the test!
Codecademy courses have been taken by employees at
Desert Island Playlist
Use Java's `ArrayList` methods to build and tweak your desert island music playlist.
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.
The Prime Directive
Your prime directive: Use Java loops to find every prime number in an array.
— Madelyn, Pinterest“I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.”
Take your programming skills to the next level by learning about arrays and loops.
Earn a certificate of completion
8 hours to complete in total
1 lesson, 1 quiz, 2 projects
1 lesson, 1 quiz, 1 project
1 informational, 5 articles