Yahoo India Web Search

Search results

  1. Dictionary
    encapsulation
    /ɪnˌkapsjʊˈleɪʃn/

    noun

    • 1. the action of enclosing something in or as if in a capsule: "encapsulation of contaminants within a solid glasslike matrix"
    • 2. the succinct expression or depiction of the essential features of something: "his encapsulation of the concept"

    More definitions, origin and scrabble points

  2. Jan 23, 2011 · Encapsulation: Wrapping up data member and method together into a single unit (i.e. Class) is called Encapsulation. Eg: we can consider a capsule. Encapsulation means hiding the internal details of an object, i.e. how an object does something. Here capsule is a single Unit contain many things. But we cant see what is there in side capsule.

  3. Apr 13, 2009 · Encapsulation and Abstraction both are interrelated terms. Real Life Difference Between Encapsulation and Abstraction. Encapsulate means to hide. Encapsulation is also called data hiding.You can think Encapsulation like a capsule (medicine tablet) which hides medicine inside it. Encapsulation is wrapping, just hiding properties and methods.

  4. Apr 15, 2013 · Encapsulation means hiding the internal details of an object, i.e. how an object does something. Encapsulation prevents clients from seeing its inside view, where the behaviour of the abstraction is implemented. Encapsulation is a technique used to protect the information in an object from the other object.

  5. Feb 20, 2015 · I would go with the second one as the definition of encapsulation. I see it the same way. Encapsulation is a mechanism of protecting the rest of your code from changes. The first statement is more restrictive. With encapsulation you don't hide just data, but also the implementation. And the visibility modifiers are just means of obtaining ...

  6. Jun 14, 2014 · Encapsulation is a very important concept in Object Oriented Programming. It is hiding the data from other modules in the application. In your example 2, as you can see you can only get the age and that too using a getter method, but you can only set the value to the private member within that class and not outside it.

  7. Dec 22, 2014 · Therefore, abstraction, polymorphism and inheritance aren't forms of encapsulation, but forms of extending and modifying encapsulated code. Different forms of encapsulation would mean the modifiers on properties, methods, fields and classes - that is public, private, static, virtual (in C#).

  8. Aug 24, 2008 · Encapsulation. Encapsulation explains binding the data members and methods into a single unit. Information hiding is the main purpose of encapsulation. Encapsulation is acheived by using access specifiers like private, public, protected. Class member variables are made private so that they cann't be accessible directly to outside world.

  9. Mar 12, 2013 · Perhaps you are confusing abstraction with encapsulation, which is understood in the broader context of object orientation. Encapsulation properly includes all three of the following: Abstraction; Implementation Hiding; Division of Responsibility; Abstraction is only one component of encapsulation.

  10. Jan 22, 2012 · encapsulation as defined above is a tool of abstraction however I tend to think of it in terms as what a class encapsulates (functionality/data regardless of access) where as abstraction is more a sense of removing you from concerns of concrete implementations i.e. regardless of how it is done and what exactly is done it is doable from wikipedia An 'abstraction' (noun) is a concept that acts as a super-categorical noun for all subordinate concepts, and connects any related concepts as a ...

  11. Jul 30, 2014 · Encapsulation. Encapsulation solves the problem in the implementation level. Encapsulation means hiding the code and data into a single unit to protect the data from outside world. Encapsulation means hiding the internal details or mechanics of how an object does something. Encapsulation- Inner layout, used in terms of implementation.

  1. People also search for