Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Session 2

Session 2

Ratings: (0)|Views: 44 |Likes:
Published by vetrivendhan

More info:

Published by: vetrivendhan on Aug 09, 2009
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

01/11/2011

pdf

text

original

 
 
Nace Solutions (P) Ltd.Copyright © 2008,All Rights Reserved
.
 Java TechnologyClasses andInheritance
 
 
2
Nace Solutions (P) Ltd.Copyright © 2008,All Rights Reserved
.
Session Plan
The basic constructs in Java
To introduce Classes, Objects and Methods
To introduce Inheritance
Implementing Inheritance in Java
To introduce Polymorphism
Structuring program by types of polymorphism
 
 
3
Nace Solutions (P) Ltd.Copyright © 2008,All Rights Reserved
.
Classes & Objects in Java
Class
A class defines a real world or abstract entity.
A class defines both the behavior and attributes of a groupof objects with similar characteristics
Object
An
object 
is an instance or variable of a class. It is said to belong to the class.
An object can be distinguished from other objects by itsattributes.

You're Reading a Free Preview

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