Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
4Activity

Table Of Contents

The Architecture
Java Run Time Environment
Garbage Collection
Program structure
Example 1.1
Example 1.1 (contd)
The System Class
Comments
Instance Variables and Methods
Example for Variables
Identifiers
Initialization
Local Variable needs to Be Initialized
Instance Variable have Default Values
Assignment of reference variables
Pass-by-Value
Pass By Value
Wrapper Classes
Wrapping Primitives
Command Line Arguments
Flow Control
Switch-Case in a Method
Enhanced For Loop
Continue
break
Arrays
Array Bounds
Classes
Constructors
Instantiation with new
this keyword
Modifiers for declarations
Overloading Methods
Overloading and AutoBoxing
Main Method
Static Variables and Methods
Static Method access only static
Static block
Static Import
INHERITANCE
Overview
Example of Inheritance
Specifying Inheritance in Java
Aspects of Inheritance
What Does an Object Look Like?
Default Initialization
Nondefault Initialization
Specifying Additional Methods
Overriding Superclass Methods
Overriding ±When Method Has Exceptions
Overriding with Compatible Return type
Invoking Superclass Methods
super keyword
Abstract Class
Defining Abstract Classes in Java
The Abstract Class-Super Class
Child Class ±Its alsoAbstract
The Concrete Class
Interfaces & Polymorphism
Interfaces
Interface
Example of Interfaces
Defining an Interface in Java
Implementing an Interface
Partial Implementation of an Interface
Using instanceof with Interfaces
Extending an Interface
final keyword
Interface vs Abstract Class
Packages
CLASSPATH
Package - Access modifiers
Creating And Running Executable Jar Files
Object Class and Its Methods
Object Class
equals( ) method
Rules for an equals( ) method
Overriding Equals Methods
The hashCode( ) method
Overriding HashCode
toString( )
Object.clone( )
Clone Method
GC of Object
Shallow Clone
Deep Clone
Math Class
Exceptions
Call Stack Mechanism
The finally Clause
Handle or Declare Rule
Method Overriding and Exceptions
User Defined Exceptions
Handle user defined Exception
Assertions
Example of Exception
Exception Handling
Checked and Unchecked
Catching Exception ±Multiple Catch
Catching Exception ±Nested Try¶s
err Field in the System Class
Redirecting Output
Finally block
Uncaught Exception
What are Assertions
Use & Miss Use of Assertions
0 of .
Results for:
No results containing your search query
P. 1
JavaModule_1

JavaModule_1

Ratings: (0)|Views: 157|Likes:
Published by sridhiya

More info:

Published by: sridhiya on Mar 09, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

05/02/2012

pdf

text

original

You're Reading a Free Preview
Pages 4 to 8 are not shown in this preview.
You're Reading a Free Preview
Pages 12 to 149 are not shown in this preview.
You're Reading a Free Preview
Page 153 is not shown in this preview.
You're Reading a Free Preview
Pages 157 to 162 are not shown in this preview.
You're Reading a Free Preview
Pages 166 to 194 are not shown in this preview.

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
ankit boxer liked this
Jojo Cansino liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->