BASICS
1 Overview
History of Java
Tools You Will Need
Try It Option
What is Next?
2 Environment Setup
Try it Option Online
Local Environment Setup
Popular Java Editors
What is Next?
3 Basic Syntax
First Java Program
Basic Syntax
Java Identifiers
Java Modifiers
Java Variables
Java Arrays
Java Enums
Java Keywords
Comments in Java
Using Blank Lines
Inheritance
Interfaces
What is Next?
4 Objects & Classes
Objects in Java
Classes in Java
Constructors
How to Use Singleton Class?
Creating an Object
Accessing Instance Variables and Methods
Source File Declaration Rules
Java Package
Import Statements
A Simple Case Study
What is Next?
5 Basic Datatypes
Primitive Datatypes
Reference Datatypes
Java Literals
What is Next?
6 Variable Types
Local Variables
Instance Variables
Class/static Variables
What is Next?
7 Modifier Types
Java Access Modifiers
Java Non-Access Modifiers
What is Next?
8 Basic Operators
The Arithmetic Operators
The Relational Operators
The Bitwise Operators
The Logical Operators
The Assignment Operators
Miscellaneous Operators
Precedence of Java Operators
What is Next?
9 Loop Control
While Loop in Java
for Loop in Java
Do While Loop in Java
Loop Control Statements
Break Statement in Java
Continue Statement in Java
Enhanced for Loop in Java
What is Next?
10 Decision Making
If Statement in Java
If-else Statement in Java
The if ... else if...else Statement
Nested if Statement in Java
Switch Statement in Java
The ?: Operator
What is Next?
11 Numbers Class
Number Methods
Java xxxValue Method
Java - compareTo Method
Java - equals Method
Java - valueOf Method
Java - toString Method
Java - parseInt Method
Java - abs Method
Java - ceil Method
Java - floor Method
Java - rint Method
Java - round Method
Java - min Method
Java - max Method
Java - exp Method
Java - log Method
Java - pow Method
Java - sqrt Method
Java - sin Method
Java - cos Method
Java - tan Method
Java - asin Method
Java - acos Method
Java - atan Method
Java - atan2 Method
Java - toDegrees Method
Java - toRadians Method
Java - random Method
What is Next?
12 Character Class
Escape Sequences
Character Methods
Java - isLetter Method
Java - isDigit Method
Java - isWhitespace Method
Java - isUpperCase Method
Java - isLowerCase Method
Java - toUpperCase Method
Java - toLowerCase Method
Java - toString Method
What is Next?
13 Strings Class
Creating Strings
Java - String Buffer & String Builder Classes
StringBuffer Methods
Java - StringBuffer append Method
Java - StringBuffer reverse Method
Java - StringBuffer delete Method
Java - StringBuffer insert Method
Java - StringBuffer replace Method
String Length
Concatenating Strings
Creating Format Strings
String Methods
Java - String charAt Method
Java - String compareTo(Object o) Method
Java - String compareTo(String str) Method
Java - String compareToIgnoreCase Method
Java - String concat Method
Java - String contentEquals Method
Java - String copyValueOf(char[] data) Method
Java - String copyValueof(char[] data, int offset, int count) Method
Java - String endsWith Method
Java - String equals Method
Java - String equalsIgnoreCase Method
Java - String getBytes(String charsetName) Method
Java - String getBytes Method
Java - String getChars Method
Java - String hashCode Method
Java - String indexOf(int ch) Method
Java - String indexOf(int ch int fromIndex) Method
Java - String indexOf(String str) Method
Java - String indexOf(String str, int fromIndex) Method
Java - String Intern Method
Java - String lastIndexOf(int ch) Method
Java - String lastIndexOf(int ch, int fromIndex) Method
Java - String lastIndexOf(String str) Method
Java - String lastIndexOf(String str, int fromIndex) Method
Java - String length Method
Java - String matches Method
Java - String regionMatches Method
Java - String replace Method
Java - String replaceAll Method
Java - String replaceFirst Method
Java - String split Method
Java - String startsWith Method
Java - String subSequence Method
Java - String subString Method
Java - String toCharArray Method
Java - String toLowerCase Method
Java - String toString Method
Java - String toUpperCase Method
Java - String trim Method
Java - String valueOf Method
14 Arrays
Declaring Array Variables
Creating Arrays
Processing Arrays
The foreach Loops
Passing Arrays to Methods
Returning an Array from a Method
The Arrays Class
15 Date & Time
Getting Current Date & Time
Date Comparison
Simple DateFormat Format Codes
Date and Time conversion Characters
Parsing Strings into Dates
Sleeping for a While
Measuring Elapsed Time
GregorianCalendar Class
16 Regular Expressions
Capturing Groups
Regular Expression Syntax
Methods of the Matcher Class
17 Methods
Creating Method
Method Calling
The void Keyword
Passing Parameters by Value
Method Overloading
Using Command-Line Arguments
The Constructors
Parameterized Constructor
The this keyword
Variable Arguments(var-args)
The finalize() Method
18 Files and I/O
Stream
Standard Streams
Reading and Writing Files
FileInputStream
ByteArrayInputStream
DataInputStream
FileOutputStream
ByteArrayOutputStream
DataOutputStream
File Navigation and I/O
File Class
FileReader Class
FileWriter Class
Directories in Java
Listing Directories
19 Exceptions
Exception Hierarchy
Built-in Exceptions
Exceptions Methods
Catching Exceptions
Multiple Catch Blocks
Catching Multiple Type of Exceptions
The Throws/Throw Keywords
The Finally Block
The try-with-resources
User-defined Exceptions
Common Exceptions
20 Inner Classes
Nested Classes
Inner Classes (Non-static Nested Classes)
Accessing the Private Members
Method-local Inner Class
Annonymous Inner Class
Annonymous Inner Class as Argument
Static Nested Class
OBJECT ORIENTED
21 Inheritance
extends Keyword
Sample Code
The super Keyword
Invoking Superclass Constructor
IS-A Relationship
The instanceof Keyword
HAS-A Relationship
Types of Inheritance
22 Overriding
Rules for Method Overriding
Using the super Keyword
23 Polymorphism
Virtual Methods
24 Abstraction
Abstract Class
Inheriting the Abstract Class
Abstract Methods
25 Encapsulation
Benefits of Encapsulation
26 Interfaces
Declaring Interfaces
Implementing Interfaces
Extending Interfaces
Extending Multiple Interfaces
Tagging Interfaces
27 Packages
Creating a Package
The import Keyword
The Directory Structure of Packages
Set CLASSPATH System Variable
ADVANCED
28 Data Structures
The Enumeration
The BitSet
The Vector
The Stack
The Dictionary
The Hashtable
The Properties
29 Collections Framework
The Collection Interfaces
The Collection Interface
The List Interface
The Set Interface
The SortedSet Interface
The Map Interface
The Map.Entry Interface
The SortedMap Interface
The Enumeration Interface
The Collection Classes
The LinkedList Class
The ArrayList Class
The HashSet Class
The LinkedHashSet Class
The TreeSet Class
The HashMap Class
The TreeMap Class
The WeakHashMap Class
The LinkedHashMap Class
The IdentityHashMap Class
The Vector Class
The Stack Class
The Dictionary
The Map Interface
The Hashtable Class
The Properties Class
The BitSet Class
The Collection Algorithms
How to Use an Iterator?
How to use a Comparator?
Summary
30 Generics
Generic Methods
Bounded Type Parameters
Generic Classes
31 Serialization
Serializing an Object
Deserializing an Object
32 Networking
URL Processing
URL Class Methods
URLConnections Class Methods
Socket Programming
ServerSocket Class Methods
Socket Class Methods
InetAddress Class Methods
Socket Client Example
Socket Server Example
33 Sending E-mail
Send a Simple E-mail
Send an HTML E-mail
Send Attachment in E-mail
User Authentication Part
34 Multithreading
Life Cycle of a Thread
Thread Priorities
Create a Thread by Implementing a Runable Interface
Create a Thread by Extending a Thread Class
Thread Methods
Major Java Multithreading Concepts
Thread Synchronization
Interthread Communication
Thread Deadlock
Thread Control
35 Applet Basics
Life Cycle of an Applet
A "Hello, World" Applet
The Applet Class
Invoking an Applet
HTML Attribute Reference
HTML Events Reference
Getting Applet Parameters
Specifying Applet Parameters
Application Conversion to Applets
Event Handling
Displaying Images
Playing Audio
36 Documentation Comments
What is Javadoc?
The javadoc Tags