
Read a temperature as an integer with a scanner, compare it to 100 degrees, and print whether the water is boiling or not using an if-else structure.
Explore logic operators in Java basics: and and or combine two conditions to yield true when appropriate, while the not gate inverts true into false and false into true.
Explore if statements and else branches in Java by modeling temperature ranges with a three-branch if-else structure, emphasizing complete conditions and proper boolean logic.
This Java programming course was made mainly for absolute beginners. If you are new to programming start learning Java with us in an easy and entertaining way.
These tutorials will give you a good introduction to Java and programming as well. We start at the very basics (from zero) and go through lots of interesting exercises and analogies that will take you to a level where you can write basic programs.
The videos and exercises are easy to follow and things are well explained. Furthermore, to make your learning easier and more enjoyable we will start developing a nostalgic, text-based fantasy game with monsters and heroes.