Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstraction Vs Encapsulation

 
rajesh mara
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am a fresher n in interviews i have been asked abt the differences between Abstraction and Encapsulation can anyone please reply with an example each abt the difference

Thank You.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12083
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best way to learn is to do some research, then come here with specific questions. There are tons of resources, both print and online. try finding the answer yourself first, and when you get stuck or confused, ask about that.

or, if you think you know the answer, post it, and say "is this right?"

You'll learn much more that way, and probably get the answer much faster.
 
Anthony Nadar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Fred. That was a fantastic answer and a the reader has to be a optimistic to take advantage of your words.
[ February 07, 2008: Message edited by: Anthony Nadar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic