Learn Java: Conditionals and Operators
Learn how to control the flow of execution using conditional statements.
3,275 learners enrolled
Time to completeApprox. 4 hours
Certificate of completionIncluded with paid plans
Prerequisites1 courseWe suggest you complete the following courses before you get started with Learn Java: Conditionals and Operators:
- Learn Java: Object-Oriented Programming
About this course
In this course, we’ll learn how to control the flow of execution by implementing conditional statements. By determining the truth value of a condition, our program will decide whether or not to execute code. This course will over go over how to create complex conditionals using boolean expressions.
Conditionals and Control Flow
Learn how to create a branching program using conditionals.
Hands-on learningDon’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.
Projects in this course
A Simple Car Loan Payment CalculatorIn this project, we're going to practice conditionals in Java so you can hone your skills and feel confident taking them to the real world. Why? Mastering combining basic fundamentals such as conditionals and arithmetic expressions will help you to build effective programs.
Continents and CitiesIn this project, we're going to practice the switch statement in Java so you can hone your skills and feel confident taking them to the real world. 7 continents, 7 cities, 1 expression. You got this!
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Unlock additional features with a paid plan
Practice ProjectsGuided projects that help you solidify the skills and concepts you're learning.
AssessmentsAuto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
Certificate of CompletionEarn a document to prove you've completed a course or path that you can share with your network.