| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#2 (permalink) |
|
Junior Member
Join Date: Feb 2008
Age: 28
Posts: 1
Thanks: 0 Thanked 1 Times in 1 Posts Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 1
|
Re: Abstraction and Encapsulation in Java?
Encapsulation mean hiding data behind methods. genarally private members can be accessed through public methods only.
Abstraction means not exposing the implementation details |
|
|
|
| The Following User Says Thank You to kgr For This Useful Post: |
nandhini_7 (06-02-08)
|
|
|
#3 (permalink) |
|
Junior Member
Join Date: Jan 2008
Posts: 5
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Abstarction means hiding the complexity of data or unnecessary data
Encapsulation means bundling up of all the members of class as a single unit Encapsulation is nothing but a mechanism that combines data and code together |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| J2EE-What is the difference between encapsulation & abstraction? | preethisingh | Java Interview / Technical Questions | 1 | 24-01-07 06:50 PM |