Overview
Syllabus
- Introduction
- Installation and Hello World
- Understanding Java Foundations
- Arguments and Parameters
- Input and Output
- Variables
- Primitives and Objects
- Variable Declaration and Initialization
- Primitive Data Types
- Scanner Input
- Numeric Data Types and Properties Infinity, NaN
- Numeric Expressions and Operators
- Numeric Methods max, compare, valueOf, parseInt, etc
- string Class string.format, length
- String Methods charAt, concat, contains, indexOf, lastIndexOf
- More String Methods toLowerCase, strip, substring, repeat, equals
- Creating Basic Classes, Methods, and Properties
- String Comparison and Interning
- if, else if, else
- Comparison and Logical Operators
- Switch Statement
- Ternary Conditional Operator
- Single line if Statement
- Intro to Loops While loops
- Do While Loop
- for Loops
- Nested Blocks Nested if
- Nested for Loops Triangles and Pyramids
- Nested While Loops
- Variable Scope with Nested Control Flow
- break
- continue
- Intro to Arrays
- Working with Arrays
- Arrays toString and Arrays deeptoString
- Array Values from Input and for Loop
- Search an Array with for Loop
- Arrays.sort and Arrays.parallelSort
- Array Methods Arrays.fill, Arrays.asList, Arrays.equals
- 2d Arrays
- Working with 2D Arrays
- Iterate through 2D Structures with for Loop
- ArrayList Introduction
- List Interface and ArrayList Implementation
- Working with Lists List Methods
- Quickly Initialize a List with Elements and How to Print List
- for Loops with Lists & How to Modify Each Element
- for each Loop in Java
- Nested for each Loop
- Convert List to an Array
- Sort and Reverse a List with Collections.sort and Collections.reverse
- Intro to Object Oriented Programming OOP
- Class vs Object
- Fields
- Public vs Private
- Methods
- Basics of Creating a Class and Object
- Adding Fields to a Class
- Creating Our First Method
- Arguments and Parameters in Methods
- Return Statement
- Encapsulation
- Create a Getter
- Create a Setter
- Custom Getter and Setter
- ArrayList f Custom Type
- Creating Custom Type in Loop
- Taking Custom Types as Arguments
- Intro to Static Methods
- Creating a Static Method
- Method to take an ArrayList of Custom Type
- Intro to Method Overloading and Optional Parameters
- Working with overloads to Print a User
- Searching a List for Custom Objects
- Method Overriding
- Override toString
- Override Equals
- Overload the Search to Take in a User Object
- Returning Custom Objects
- Passing by Value or Reference
- Intro to Inheritance
- Working with Inheritance
- Virtual in Java
- Creating a Method in User Class and Overriding in a Derived Class
- abstract Class
- abstract Method
- Polymorphism
- Polymorphism in Practice
- Intro to Constructors
- Creating the Default Constructor
- Custom Constructors
- Invoke Parent Class Methods with super keyword
- Readonly Fields Assigned with Constructor
- Intro to Interfaces
- Creating an Interface for Functionality
- Final Methods
- Final Classes
- Intro to enum
- enum in switch
- Conclusion
Taught by
Caleb Curry