Course Introduction
  • Course Introduction
  • Platform Independency, JDK and JRE terms
  • Introduction to Java
  • Preparing development environment
  • Syntax rules
Programming with Java 101
  • ALL SOURCE CODE IS HERE
  • Hello World Application
  • Importing project - Exporting Project
  • Introduction to primitives and int
  • Exercise 1 - Mathematical operations on int variables
  • Solution of exercise 1
  • long and short types
  • Casting integer types
  • Exercise 2 - Casting integer types
  • Solution to exercise 2
  • Floating Point Numbers - float and double
  • Exercise 3 - Using floating point numbers
  • Solution to exercise 3
  • Operator Precedence
  • Exercise 4 - Applying operator precedence
  • Solution to exercise 4
  • Shortcut Operators
  • Boolean type and logical operations
  • Exercise 5 - Boolean operation construction
  • Solution to Exercise 5
  • Printing values to console. print and println methods
  • Introduction to primitives
  • char and character arithmetic
  • Character and character arithmetic
  • Exercise 6 - Character Arithmetic - Modifying char with arithmetic operations
  • Solution to exercise 6 - Modifying char with arithmetic operations
Control Structures and Loops
  • If else blocks
  • Exercise - If else block construction
  • If else blocks and operator Precedence
  • Switch Statement
  • For loop
  • While Loop
  • Exercise - Using "for" loops
  • Breaking the loops
  • Nested Loops
  • Nested Loops 2 - Dependent Boundaries
  • Exercise - Using nested loops
  • Solution to exercise
  • Exercise - Using nested loops 2
  • Solution to exercise - Using nested loops
Array
  • Introduction to arrays
  • Initializing the array without specifying the size
  • Why array indexes start at 0 and ArrayIndexOutOfBoundsException
  • Iterating over array elements
  • Sum the even numbers in an array
  • Multi-dimensional arrays
Class and Method
  • Object, Class, Instance Definitions
  • Creating and referencing instances
  • Method Theory
  • Method Invocation 1
  • Method Invocation 2 - Invoke on object instances
  • Exercise - Using classes, instances and invoking methods
  • Exercise - Code Correction - Return value on all flow paths
  • Method Overloading
  • Limitless arguments - Array and Vararg arguments
  • Constructors
  • Static context
  • Using static variables and methods
Memory management in Java
  • Introduction to JVM memory management
  • JVM Memory Management
  • Preserving Method Execution Order
  • Stack Space and StackOverflowError
  • Modifying object instances inside method
  • Modifying primitive arguments inside method
  • Method invocation order and method-local variables
Array exercises and live coding
  • Exercise - Finding series in an array
  • Exercise - Multidimensional arrays and methods
Object Oriented Basics
  • Object Oriented Introducton
  • Composition - Composing object instances
  • Data Encapsulation and Access Modifiers
  • Other object oriented concepts
String Object and Regular Expressions
  • Introduction to string
  • Checking string equality (Pooled string)
  • String methods - 1
  • String methods - 2
  • Exercise 1 - Count Words
  • Solution to exercise 1- Finding occurrence count of a word in a sentence
  • Exercise 2 - Remove words from string
  • Solution to exercise - Removing all occurrences of a word from a sentence
  • Exercise 3 - Convert to title case
  • Solution to exercise 3 - Making a sentence title-case
  • Regular expressions - Introduction
  • Regular expressions - Further Examples
  • Email address validation with regex and matcher class
  • Check if all the characters are lowercase alphabetic characters in a string
  • Extracting useful data from input with regex and matcher.group() method