Announcement

Collapse
No announcement yet.

What is encapsulation??

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is encapsulation??

    Containing and hiding information about an object, such as internal data structures and code. Encapsulation isolates the internal complexity of an object's operation from the rest of the application. For example, a client component asking for net revenue from a business object need not know the data's origin.
    Asthijivak | Slim Shaper | Fat Cutter

  • #2
    Hey,Encapsulation is an Object Oriented Programming concept that binds together the data and functions that manipulate the data, and that keeps both safe from outside interference and misuse.Encapsulation in Java is a mechanism of wrapping the variables and code acting on the methods together as as single unit. In encapsulation the variables of a class will be hidden from other classes, and can be accessed only through the methods of their current class, therefore it is also known as data hiding.
    http://keenesystems.com/Services/Sof...velopment.aspx

    Comment


    • #3
      In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof:
      A language mechanism for restricting direct access to some of the object's components.
      A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.
      Some programming language researchers and academics use the first meaning alone or in combination with the second as a distinguishing feature of object-oriented programming, while other programming languages which provide lexical closures view encapsulation as a feature of the language orthogonal to object orientation.
      The second definition is motivated by the fact that in many OOP languages hiding of components is not automatic or can be overridden; thus, information hiding is defined as a separate notion by those who prefer the second definition.
      The features of encapsulation are supported using classes in most object-oriented programming languages, although other alternatives also exist.
      Instamate 2.0 Review - The Must-Have Tool For YOUR INSTAGRAM Business. | Jimdo | Wordpress | Hatenablog

      Comment


      • #4
        Encapsulation is an process of hiding internal details of your class from the end user
        Web designer jobs in bangalore | Graphic designer jobs in bangalore

        Comment


        • #5
          In general, encapsulation is the inclusion of one thing within another thing so that the included thing is not apparent.
          web development company | web designer in India | SEO services

          Comment


          • #6
            Encapsulation is wrapping of data and code together in to a single unit..

            Comment


            • #7
              Encapsulation is the feature of object oriented programming.
              Binding the data into a single unit is called encapsulation. In this we bind all data of a project into a single unit for simplicity.
              Best engineering college in Delhi NCR | Top engineering college in Haryana | Top Institute in Delhi NCR | GIET

              Comment

              Working...
              X