Introduction
Learn the essentials of Java 17
()
Programming and algorithms
()
1. Getting Started with Java
Install IntelliJ Community Edition
()
Install the Java Development Kit (JDK)
()
2. Java Basics
Packages
()
Classes
()
Main method
()
Reserved words
()
3. Variables
Creating variables
()
Primitive data types
()
Local variable type inference
()
Naming variables
()
Modifying variables
()
Arithmetic operators
()
Challenge: Fill in the blanks
()
Solution: Fill in the blanks
()
4. Decision Structures
If statements
()
If-else statements
()
If-else-if statements
()
Switch statements
()
Switch expressions
()
Relational operators
()
Logical operators
()
Short circuit logic
()
Challenge: Change for a dollar game
()
Solution: Change for a dollar game
()
5. Repetition Structures
While loop
()
Do while loop
()
For loop
()
Nested loops
()
Break statement
()
Challenge: Roll the die game
()
Solution: Roll the die game
()
6. Methods
Creating methods
()
Calling methods
()
Variable scope
()
Passing data to methods
()
Returning data from methods
()
Overloading methods
()
7. Objects
Defining classes for objects
()
Constructors
()
Instantiating objects
()
Objects as method parameters
()
Objects as method return types
()
Wrapper classes
()
Records
()
8. Arrays
Arrays
()
Variable arguments
()
9. Text Processing
Strings
()
Text blocks
()
Challenge: Password validator
()
Solution: Password validator
()
Ex_Files_Java_17_EssT_Syntax_and_Structure.zip
(131 KB)