Get started in Java programming. This course shows beginners how to write Java code and build simple Java applications.
Overview
Syllabus
Introduction
- Learn Java code
- What you should know
- Working with the exercise files
- What is Java?
- Install the Java Development Kit
- How to build and execute Java programs
- Explore the IntelliJ IDEA
- Write your first Java program
- Run your first Java program
- Primitive data types
- Data types and variables in Java
- Strings in Java
- Using indexes with strings
- Concatenating strings
- Input and output in Java
- Map program control flow
- Operators in Java
- Decision-making with if in Java
- Understanding scope
- Understanding while loops
- Using loops in Java
- Challenge: Multiple choice
- Solution: Multiple choice
- Debugging with print statements
- Debugging with an IDE
- Challenge: Find the errors
- Solution: Find the errors
- What are functions?
- Defining functions in Java
- Calling functions in Java
- Parameters in Java
- Return types in Java
- Using built-in functions in Java
- Challenge: Salary calculator
- Solution: Salary calculator
- What is a class?
- What is a constructor?
- Creating a class in Java
- Creating an instance in Java
- Instance versus class members
- Using instance and class methods in Java
- Instance and class variables in Java
- Reviewing classes versus instances
- Challenge: Student profile
- Solution: Student profile
- Continue your Java learning
Taught by
Kathryn Hodge