This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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