Yahoo India Web Search

Search results

  1. Apr 13, 2009 · OOPS makes use of encapsulation to enforce the integrity of a type (i.e. to make sure data is used in an appropriate manner) by preventing programmers from accessing data in a non-intended manner. Through encapsulation, only a predetermined group of functions can access the data.

  2. Feb 4, 2015 · Encapsulation. Consider a Banking system.Banking system have properties like account no,account type,balance ..etc. If someone is trying to change the balance of the account,attempt can be successful if there is no encapsulation. Therefore encapsulation allows class to have complete control over their properties.

  3. 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.

  4. Jun 5, 2013 · Encapsulation: implies bundling the related functionality together and giving access to only the needful. Encapsulation is the basis of meaningful class designing in Object Oriented Design, by: putting related data and methods together; and, exposing only the pieces of data and methods relevant for functioning with external entities.

  5. Jun 12, 2009 · Encapsulation is protection mechanism for your class and data structure. It makes your life much easier. With Encapsulation you have a control to access and set class parameters and methods. You have a control to say which part is visible to outsiders and how one can set your objects parameters. Access and sett class parameters (Good Way)

  6. Aug 18, 2013 · Encapsulation allows you to formalize your interfaces, separating levels of abstraction (i.e. "application logic accesses IO code only in this and this way"). This in turn, allows you to change the implementation of a module (the data and algorithms inside the module) without changing the interface (and affecting client code).

  7. 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.

  8. 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.

  9. Aug 24, 2008 · Encapsulation - It is the process of enclosing data and functions manipulating this data into a single unit. Abstraction and Encapsulation are related but complementary concepts. Abstraction is the process. Encapsulation is the mechanism by which Abstraction is implemented. Abstraction focuses on the observable behavior of an object.

  10. Encapsulation: Encapsulation is one of the pillar of OOPS, also is superset for the other two terms, data hiding and abstraction. (Data hiding, as the term refers.. Data can only be stored in variables. To hide the data from external world we use data hiding concept.

  1. People also search for