aspose file tools*
The moose likes Beginning Java and the fly likes fundamentals Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "fundamentals" Watch "fundamentals" New topic
Author

fundamentals

saisailaja bharadwaj
Greenhorn

Joined: Jul 26, 2001
Posts: 7
What is meant by Abstraction and Encapsulation
with ex
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi saisailaja,
to me..
Abstraction: it is an 'abstract' (incomplete/non-concrete) representation of some behavior...
Encapsulation: it is a mechanism to bundle things together in one object and "wrap" those things so that they can't be seen by others directly...
i will be poor in explaining if i try in details...
but this might be more helpful..
go to "encapsulation" hyperlink in there...
regards
maulin.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: fundamentals