Beginner1 h 35Free
Java: deciding and repeating
Make your Java programs decide with if and switch, read and convert what the user types while handling errors, repeat actions with while and for, and store your data in arrays and lists.
Start the course
0 / 6 chapters completed
What you'll be able to do
- Write conditions with if, else and the switch expression
- Compare two texts correctly with equals
- Read input, convert it into a number and handle invalid input
- Repeat instructions with while, do while and for
- Use an array and an ArrayList and go through them