Free SCJP ebook!
Free SCJP Mock exams!
(
Registration
required)
Witscale's SCJP Study Notes - Contents
Introduction
Language Fundamentals
Class declaration and java source file.
Package, import statements and Class declaration.
Keywords and Identifiers
Primitive data types
Literals
Boolean Literals
Character Literals
Integral Literals
Floating Point Literals
String Literals
Arrays
Arrays Declaration, Construction and initialization.
Array of primitive data types.
Array of Object references.
Argument passing during method calls.
main() method.
Garbage Collection
Object creation
Memory heap
Stack
Garbage Collection
How object becomes eligible for Garbage Collection?
Operators and Assignments
Operators
Unary Operators
Binary Operators
Ternary Operator
Operators and operand types
equals() method and identity test(==).
Conversion, Casting and Promotion
Conversion and casting
Conversion Contexts
General Rules
Rules for conversion of primitives in assignment.
Rules for conversion of primitives during the method call.
Rules for conversion of primitives during the numeric/arithmetic operations.
Casting of primitive data types.
Object reference Conversion.
Object reference Casting.
Flow Control and Exceptions
Flow control statements
switch statement
break and continue
Exceptions
Errors and Exceptions
Checked and Unchecked Exceptions
Handling an exception
The try {..} block.
The catch(Throwable throwable){..} clause of try block.
The finally {..} clause.
throws clause in method declaration.
Method Overloading and Overriding
Overloading
Constructor Overloading
Overriding
Rules for overriding
Difference between overloading and overriding.
'Is a', 'has a' relationship
The Generalization (Inheritance) and 'is-a' relationship
The Composition and 'has-a' relationship
Variables are shadowed and methods are overridden.
Nested Classes
Inner Classes
Local inner class.
Anonymous inner class.
Non-static member class.
Static nested classes.
Threads
Thread class and run() Method
Thread Scheduling
The Life Cycle of a Thread
Thread Synchronization
Monitor
Synchronized code and Locks
Thread Priority
Thread Deadlock
Fundamental Classes in java.lang package.
java.lang package.
Object class
Math Class
Wrapper classes
String
StringBuffer
Java Collections Framework.
Collection.
Collection Interfaces.
Set
List
Map
Collections and hashcode() method.
Implementation of Collection interfaces.
Benefits and constraints of using different data structures.