Java Course Outline
Java Course Outline
Java Course Outline
Suite#606 4789 Yonge St, North York ON - M2N 0C8 | [email protected] | (905) 447 - 4769
An Overview of Java
Evolution of Java
Write Once Run Anywhere: Java Byte code
Java Highlights
What is Object-Oriented Programming (OOP)?
OOP Principles: Encapsulation, Inheritance & Polymorphism
Hello World first Java Program
Java Keywords
Operators
Arithmetic Operators (+, -, /, *, %, =)
Compound Assignment Operators (+=, -=, /=, *=, %=)
Increment & Decrement Operators (++, --)
Relational Operators (==, !=, >, <, >=, <=)
Boolean Logical Operators (&, &&, |, ||)
Ternary Operator
Operator Precedence
Control Statements
Selection Statements:
o If – else, Nested ‘if’s, if-else-if ladder
o Switch Statements
Iteration Statements
o For loop
o While loop
o Do-while loop
Jump Statements
o Break Statement
o Continue Statement
SANRUS TRAINING CENTRE
Suite#606 4789 Yonge St, North York ON - M2N 0C8 | [email protected] | (905) 447 - 4769
Interfaces
Declaring Interfaces
Use of Interfaces
Interface rules
Inheritance
How inheritance works in Java
Sample Program explaining inheritance
Member access and inheritance
Invoking superclass variables and methods
How constructors work in Inheritance
Overriding methods in Inheritance
Using ‘super’ keyword
Dynamic method dispatch
How ‘final’ keyword prevents inheritance
Inheritance in Interfaces
How a class can use an interface
Strings in Java
How are strings handled in Java
SANRUS TRAINING CENTRE
Suite#606 4789 Yonge St, North York ON - M2N 0C8 | [email protected] | (905) 447 - 4769
Exceptional Handling
Types of Exceptions: Exceptions and Errors
Using ‘try’ and ‘catch’ to handle the uncaught exceptions
Using multiple catch blocks
Using ‘finally’ keyword in try-catch block
Using ‘throw’ statement
Using ‘throws’ statement in method
Checked and Unchecked exceptions
Creating our own exception classes
Multithreading
Overview on Multithreaded programming
Main thread
Creating and starting a thread
Thread priorities
Using join() and synchronized keywords
Deadlock in multithreading