
Explore how Java’s platform independent, write-once, run-anywhere model powers Android and desktop apps. Understand how Java Virtual Machine, bytecode, and tools like Java Development Kit and IDEs support development.
Install NetBeans and the JDK by choosing the correct 32-bit or 64-bit version, downloading from the download page, accepting the license, and following the simple installer steps.
Create your first Java project in the editor, write a hello world program inside the main function of a class, then compile and run to view the output.
Explore variables as data storage and primitive types in Java, including integral and real numbers, characters, and booleans. Learn how int, double, float, short, and long differ.
Learn value replacing exercise by changing two int variables, first and second, from 7 and 19 without adding numbers, and print their names and values in Java.
Use a third variable as a temporary placeholder to swap two values, moving the second into the third, then the first into the second and the third into the first.
Learn how to read a temperature value in Java using Scanner, perform the Celsius to Fahrenheit calculation, and understand how integer vs double division affects results.
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.
Learn to implement a three-way if statement that classifies water as boiling, freezing, or normal based on temperature, using a renamed java project.
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.
Practice the fighting exercise by reading you and monster attributes, then resolve one round with a coin toss, two dice, attack, defense, life points.
Learn how loops repeat actions until a condition changes, and explore Java's post-test loops and pretest loops, including the while and for loops.
Demonstrates a Java do-while loop by building a die value exercise: read input with a scanner, repeat until the value is good, and compare with an if-based alternative.
Design and implement a fight until death loop in the Java project, repeating rounds while both life points stay above zero, handling user input and buffer reads.
Learn the while loop syntax in Java by building a dice rolls exercise that uses a random number generator to produce 1–6, counting rolls until six.
Explore whether while and do-while loops are interchangeable, compare their differences and similarities, and examine loop start, condition, and a semicolon at the end in a sample program.
Explore the switch statement in Java: select among states using a variable, branch with case labels and break, and handle default. See basic examples like calculator operations and age groups.
Explore a Java fight loop where a switch handles run commands, apply a four-point life penalty for running, and exit the fight when monster life falls or you run away.
Create a Java program that generates monster and hero stats with a random number generator, assigns attack, defense, damage, and life, and prints the monster name.
Follow a complete for loop walkthrough that initializes a counter, tests a condition, and increments to fight three monsters, using break to exit when either you or a monster dies.
Explore break and continue in Java loops and build a multiplication table from 1 to 9 using nested for loops, spaces, and printf formatting.
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.