Search | View Active Threads | View New Posts
Current Time: 06:53 PM

 

+ Reply to Thread
Results 1 to 11 of 11
  1. #1

    Thumbs up What is an Encapsulation?

    Encapsulation is a process of hiding all the int rnal details of an object from the outside world.

    Encapsulation is the ability to hide its data and m thods from outside the world and only expose data and methods that are required

    Encapsulation gives us maintainability, flexibility and extensibility to our code.

    Encapsulation makes implementation inaccessible to other parts of the program and protect from whatever actions might be taken outside the function or class.

    Encapsulation provides a way to protect data from accidental corruption

    Encapsulation hides information within an object

    Encapsulation is technique or process of making fields in a class private and providing access to the fields using public methods

    Encapsulation allows us to create a "black box" and protects an objects internal state from corruption by its clients.

    The idea of encapsulation comes from the need to cleanly distinguish between the specification and the implementation of an operation and the need for modularity.

  2. #2
    Join Date
    Jan 2017
    Posts
    2

    Encapsulation

    Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction.

    Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a 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.

  3. #3
    Join Date
    Feb 2017
    Location
    Bangalore
    Posts
    82
    These is an oops concept bind together the data and functions that manipulate the data this is an important data hiding concepts in oops.

  4. #4
    Join Date
    Mar 2017
    Posts
    10

    Definition

    Quote Originally Posted by vartika sharma View Post
    Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction.

    Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a 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.
    beneficial definition of Encapsulaion 4 SerfCompanydotcom

  5. #5
    Encapsulation means hiding attributes in programming so that you can make changes in one place without having to also make changes in the other parts of an application. Otherwise, if you make information more open, you risk a change in one location leading to cascading, multiple changes elsewhere.

  6. #6
    Join Date
    Jul 2017
    Posts
    11

    yes,

    it is the topic from my syllabus i never understand while in engineering.

  7. #7
    Join Date
    Nov 2017
    Posts
    36

    Encapsulation

    In object oriented 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.

    mcommerce advantages
    Differences between ecommerce and mcommerce
    Magento images not showing
    Last edited by aliceta; 2018-12-24 at 01:07 PM.

  8. #8
    Join Date
    Sep 2018
    Location
    USA
    Posts
    51
    Quote Originally Posted by chinmay.sahoo View Post
    Encapsulation is a process of hiding all the int rnal details of an object from the outside world.

    Encapsulation is the ability to hide its data and m thods from outside the world and only expose data and methods that are required

    Encapsulation gives us maintainability, flexibility and extensibility to our code.

    Encapsulation makes implementation inaccessible to other parts of the program and protect from whatever actions might be taken outside the function or class.

    Encapsulation provides a way to protect data from accidental corruption

    Encapsulation hides information within an object

    Encapsulation is technique or process of making fields in a class private and providing access to the fields using public methods

    Encapsulation allows us to create a "black box" and protects an objects internal state from corruption by its clients.

    The idea of encapsulation comes from the need to cleanly distinguish between the specification and the implementation of an operation and the need for modularity.
    Great, thanks for sharing this after a long time I revised it

  9. #9
    Join Date
    Jul 2018
    Posts
    55
    the action of enclosing something in or as if in a capsule.

  10. #10
    Join Date
    Apr 2019
    Posts
    78
    1. In encapsulation, the variables or data of a class is hidden from any other class and can be accessed only through any member function of own class in which they are declared.
    2. As in encapsulation, the data in a class is hidden from other classes, so it is also known as data-hiding.
    3. Encapsulation can be achieved by: Declaring all the variables in the class as private and writing public methods in the class to set and get the values of variables.

  11. #11
    Join Date
    May 2019
    Location
    Bangalore
    Posts
    107
    Encapsulation is one of the fundamental concepts in object-oriented programming (OOP). It describes the idea of bundling data and methods that work on that data within one unit, e.g., a class in Java. This concept is also often used to hide the internal representation, or state, of an object from the outside

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  

Sponsors

Above.com Domain Registrar, Marketplace and Revenue Optimizer
Trellian Direct Search Network
Domain Escrow Services

Industry Events

11-14 August 2019
Affiliate Summit East
New York, NY

4-6 March 2019
LeadsCon
Las Vegas

15-18 September 2018
MERGE 2018
Orlando, FL

Poll

How do you invest in domains?
to see the Poll results!
DomainState.com
Domain Tools | Domain Directory | Registrar Stats | Domain Glossary | Industry Events | FAQ | Members | Terms | RSS | Link To Us | Advertise | Contact Us
Other Related Trellian Services:
Above.com Registrar  |  Above.com Marketplace  |  Above.com Domain Manager  |  Free Search Toolbar  |  Free Webpage Builder  |  Keyword Research
Direct Search Navigation  |  Search Engine Submission and SEO Tools
Copyright © 2002 DomainState.com a Trellian Company 2014 Bronze Sponsor - Internet Commerce Association