File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


saisailaja bharadwaj

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

Joined: Nov 04, 2001
Posts: 1873
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...
I agree. Here's the link:
subject: fundamentals
It's not a secret anymore!