Sai Satish Java Project
JAVA . . .
The Correct Reference
(A Book from Satish Series)
1) Chapter 1 Introduction to Object Oriented Programming
Introduction
Concepts
Objects
Classes
Polymorphism
Dynamic Binding
Message Communication
Advantages
Applications
***************
***************
Chapter 2 Introduction to Java
Birth of Java
Why Java?
Internet
OOP’s
Platform Independent
Security
Many More
Java Features
Platform Independent
Robust
Multi Threading
Inheritance
Distributed
Interpreted
High Performance
Chapter 3 Java Terms Tools
Introduction
Important Terms
Thread Beans Native Code Object
Class Method Parameter Constructor
Main method J2SE J2EE J2ME
Applet Browser Server Client
Byte Code Application JavaScript Error
Bug Compiler Interpreter HTML
HTTP TCP/IP Libraries This
Super JVM Parameter
Difference between Java and C
Difference between Java and C++
J2SDk Tools
Javac
java
Javah
appletviewer.exe
jar.exe
javadoc.exe
jdb.exe
javap.exe
javaw.exe
packager.exe
rmic.exe
rmid.exe
rmiregistry.exe
Chapter 4 Java Overview
Introduction
First Java Program
Class Declaration
Main Method
Static Keyword
Braces
Printing Statement
Comments
Identifiers
Literals
Java Keywords
Simple output and input operations
**********
Chapter 5 Loops, Data Types, Variables, Arrays & Access Specifiers
Types of Data types
Data types Diagram
Integers
byte
short
int
long
Floating Types
float
double
Characters
Boolean
Declaring Variables
Type casting
Automatic type casting with Table
Arrays
Single dimensional Arrays
Double dimensional Arrays
Blocks “{ }”
Scope of a variable
Access Specifiers
Public
Private
Protected
Default
Private protected
Chapter-6 Operators and their Operation
Introduction
Arithmetic Operators
Assignment Operators
Increment and Decrement Operators
Bitwise Operators
Advantages of bitwise operators
? : Operator (Conditional Operator)
Dot operator
Chapter 7 Expressions Statements and Loops
Arithmetic Operations
Evaluation Operations
Expressions return true or false
Priorities in expressions
Example programmes
Statements:
Introduction
Types of Statements
Loops:
If else
Nested if else
If using Braces
Switch case
for loop
while loop
do…while
label “:”
break
continue
Chapter 9 Creating & using classes, Objects &methods
Introduction
Overview of a Class
Creating a class
Defining methods, variables
Scope of a variable
Command Line Arguments
Overloading
Static keyword
Static variables
Static methods
Access Specifiers
Class.forName();
final keyword
final Classes
final methods and variables
Chapter 10 Introduction to Interfaces and Packages and Inheritance
Introduction
Creating Interfaces
Rules for creating interface
Implementing Interfaces
Uses of interface
class versus interface
abstract versus interface
extending interface
Packages
Introduction
Creating package
Importing package
Uses of package
Sample problems
Inheritance
Introduction
Advantages of Inheritance
Types of Inheritance
Examples
Chapter 11 Exploring Java.lang.*
Introduction
Classes List
Wrapper Classes
Integer
Byte
Long
Float
Char
Boolean
Void
Process
Runtime
ClassLoader
Class.forName()
Throwable
Throws
System.out.
System.in;
Java.lang.Math
Tan
Cos
sin
Chapter 12 Exploring java.util.*;
classes and interfaces list
Interfaces
Collection
List
Set
Map
SortedSet
Classes
ArrayList
LinkedList
Iterator
Vector
Stack
HashMap
HashSet
HashTable
Enumaration
Date
Dictionary
String Tokenizer
TreeSet
Random
Chapter 13 Exception Handling
Introduction
Types of Exceptions
Escapable Exception
try and catch block
try and multiple catch blocks
Nested try’s
throw statement
throws Statement
finally keyword
Creating our own Exception
****************
Chapter 14 Multithread Programming
Introduction
Creating a thread
Extending Thread
Implementing Runnable
Multiple Threads
Life Cycle of a Thread
New born State
Runnable
Running
Blocked
Dead State
Thread Priority
Methods of Thread
yeild(),suspend()
stop()
isAlive();
join();
Synchronization
Deadlock
Chapter 15 Managing I/O
Fundamentals
Streams
Byte Stream
Character Stream
Reading/writing from, to console (Keyboard/monitor)
Byte stream
Reading
Writing
Character Stream
Reading
Writing
All ByteStream Classes
Input
Output
Explanations and example programmes
All Character Stream
Reader
Writer
Explanations and example programmes
Managing Files
File
Methods:
isDirectory()
file.list
ByteStream:
FileInputStream
FileOutputStream
Character:
FileWriter
FileReader
SequenceInputStream
RandomAccessFile
Serialization
ObjectOutput
ObjectInput
Chapter 16 Developing AWT
Introduction
Container
Panel
Window
Frame
List of awt classes and Interfaces
Creating awt programs
Drawing Lines
Drawing Rectangle
Drawing Ellipses
Drawing Circles
Drawing Arcs
Drawing Polygons
Font
Color
repaint()
Chapter 17 AWT Controls, Menus ,Layout Managers
Introduction
Labels
Buttons
Checkbox
ChechboxGroup
Lists
ScrollBars
TextField
TextArea
Layout Managers
Introduction
FlowLayout
BorderLayout
CardLayout
GridLayout
MenuBars
Menus
Handling Events
Button
Checkbox
setBackground();
Chapter 18 Applets
Introduction
Applet Class
repaint
Lifecycle
Tags
Parameter passing to applet
Applet methods
Sample programs
Chapter 19 JDBC
Introduction
Types of Drivers
Database
Sql
MS access
Configuring DSN
List of Classes and interfaces
Useful classes for type-1 driver
Connection
Statement
DriverManager
Inserting record in table
updating record in table
ResultSet;
retrieving record from table
creating table from JDBC-ODBC Driver
creating column from JDBC-ODBC Driver
thin Driver
Callable Statement
Prepared Statement
DatabaseMetaData
Chapter 20 Servlets
Introduction
Classes
Methods
GenericServlet
HttpServlet
Request
Response
Client
Server
Web server
DNS
Jdk2.0
ServletRunner
PostMethod
GetMethod
GenericServlet
HttpServletRequest
HttpServletResponse
ServletConfig
ServletLifeCycle
Cookies
Introduction
Creating Cookies
Retrieving Cookies
Chapter21 Swings
*****
*****
*******
********
Chapter 23 Java Script
Introduction
Fundamentals
Tags
Images
anchor
Functions
ActiveXObjects
FileScripptingObject
Adodb
CreatingFile
Manipulating Files
Deleting files
Creating Folder
Chapter 24 Java Interview Questions
Chapter 25 API Packages
Chapter 26 Real Time Java
Chapter 26 Java Projects
Object: Object is a living run-time entity .We can clearly understand what an object is by examining various objects .A cycle is an object .A Bike is an Object. Man is an Object and so on …let us see what made it as objects
A Cycle has a name (attribute).A cycle has a chain (attribute) .A cycle contains pedals (attribute).we can use cycle for some functions like riding.(function). When we consider a man he will he will have a name(attribute),hands(attributes),legs(attribute)
Using his hands he will do some work (function)using his legs he will walk(function) and he has some more functions like running ,eating ,talking, sleeping, and so on(functions)…
Man Object
Name
Eyes
Hands Legs
Walk()
Seeing()
Sleeping()
Eating()
So man cycle are Objects because they have some attributes and functions
Object= variables(attributes) +methods (functions)
Functions are called as methods in java
Therefore we can define an object as a runtime entity (which will be created in the program execution
Class: Before knowing about a class first you should be familiar with object, which I explained above. A class is proto type or blue print of an object
Which are mostly equals to structs and unions in C++ C languages, with little differences
Class defines the object. The definition of object is class
Consider the following code in JAVA
class demo1
{
int var1;
String var2;
void method1()
{
//method 1 Code
}
void mathod2()
{
// method 2 code
}
}
here demo1 is class name ,var1,var2 are variables of type int and String(don’t be confused or temper you will come to all these in following sections) and method1(),method2() are methods
Data Types:
In our daily life, we use many things for many purposes .we use calculators for calculations. we use *** for ***.and so on. Like that , we create objects for several purposes which are described according to class definition. Therefore, that object is data type of that class .java provides eights built in data types or simple data types, or primitive data types. They are
Primitive data types
Numbers Characters Boolean
Integers Floating points char boolean
byte short int long float double
Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis
Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!
Commercial Use
Modify
Distribute
Place Warranty
Use Patent Claims
Sub-License
Hold Liable
Distribute Original
Disclose Source
Include Copyright
State Changes
Include License
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.
Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis
Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!