Java
Part of the Fundamentals section of Coddy's Java journey. Lesson 1 of 73.
Java is an incredibly powerful and versatile programming language that lets you create everything from mobile apps to enterprise software, with the amazing ability to ‘write once, run anywhere’.
Challenge
BeginnerWelcome to your first Java program! The code is already written for you.
What to do:
- Look at the code:
System.out.println("Hello Java!"); - Press the "Run Code" button to execute it
- You should see "Hello Java!" appear in the output
Try it yourself
public class Main {
public static void main(String[] args) {
System.out.println("Hello Java!");
}
}All lessons in Fundamentals
4Operators Part 1
Arithmetic OperatorsModulo OperatorIncrement/DecrementPost Increment/DecrementArithmetic ShortcutsComparison OperatorsString Comparison5Operators Part 2
Logical Operators Part 1Logical Operators Part 2Recap - Simple LogicLogical Operators Part 3Logical Operators Part 43Variables Part 2
ConstantsNaming ConventionsRecap - Initialize VariablesType Casting Part 1Type Casting Part 26Decision Making
If StatementIf - ElseSwitch StatementTernary OperatorRecap - If ElseNested If - ElsePractice on your own: Online Java compiler