Sign Up

Continue with Facebook
Continue with Google
Continue with Twitter
or use


Have an account? Sign In Now

Sign In

Continue with Facebook
Continue with Google
Continue with Twitter
or use

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

WhatisWhatis

WhatisWhatis Logo WhatisWhatis Logo

WhatisWhatis Navigation

  • Blog
  • Write For Us
  • About Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • All Questions
  • Polls
  • Followers
  • FAQs
  • Add A Group
  • Add A Post
  • Blog
  • Write For Us
  • About Us
Home/Advantages of encapsulation

WhatisWhatis Latest Questions

Singasani Akshay
  • 0
Singasani Akshay
Asked: January 9, 2022In: Technology, Website Development

What Is Encapsulation?

  • 0

What does encapsulation mean? Please describe the advantages and disadvantages of Encapsulation.

Advantages of encapsulationDefinitionDisadvantages of encapsulationEncapsulationEncapsulation Definitionwhat does encapsulation meanWhat Is Encapsulation
  1. Best Answer
    Singasani Akshay
    Added an answer on January 9, 2022 at 2:15 pm

    Encapsulation Definition:  Encapsulation, also known as OOP (Object-Oriented Computer Programming), is an assortment of data which has been put together or bundled. It operates in a single composite unit and can be classified also. To simplify the meaning, we can say it is a mechanism under which thRead more

    Encapsulation Definition: 

    Encapsulation, also known as OOP (Object-Oriented Computer Programming), is an assortment of data which has been put together or bundled. It operates in a single composite unit and can be classified also.

    To simplify the meaning, we can say it is a mechanism under which the direct access to some parts of an object is restricted. Thus, a programme can be hidden for restricted use. It is basically a privacy safety mechanism.

    Privacy is protected: Restricted information or data can be accessed only with the use of the code within the same class.

    Merits or Benefits of Encapsulation:

    • A data containing information can remain hidden and can be seen by the user using a particular code. Thus information leak is sealed.
    • This mechanism helps the internet-related companies, institutions and organizations to safely implement encapsulation to protect sensitive data.
    • It helps the internet-related companies to comply with industry-specific data security and privacy requirements like HIPAA and PCI DDS. 
    • This mechanism can put data into several fragments or parts to put them in various compartments to enable the users to resort to view data on the basis of their need-to-know module.

    Demerits or Disadvantages of Encapsulation

    • Encapsulation gives rise to volume or the length of the code. It also slows shutdown execution.
    • Once this method is put into practice or done, the data of one class cannot be used in another class
    • Time-consuming while on operation

    The Conclusion:

    The OOP has four fundamental concepts with encapsulation being one. The others are inheritance, polymorphism, and abstraction. The data (variables) and code acting on the data (methods) are wrapped together as a single composite unit. This is also known as a data-hiding process or method.

    The variables of a class remain hidden from other classes. Subsequently, they can be accessed only through the methods of their current class.

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
  • 37 Views

Sidebar

Ask A Question
Add A Post
Create A New Group

Categories

Our Figures

  • Questions 1k
  • Answers 1k
  • Posts 1k
  • Comments 88
  • Best Answers 1k
  • Users 7k

Explore

  • Home
  • All Questions
  • Polls
  • Followers
  • FAQs
  • Add A Group
  • Add A Post

Footer

About Us

WhatisWhatis.com is trying to become one of the best question and answer platforms out there, which will help you establish your community and connect with other people.

Our Pages

  • About Us
  • Blog
  • Contact Us
  • Frequently Asked Questions (FAQs)
  • Privacy Policy
  • Questions
  • Write For Us To Submit A Guest Post Article on Technology, Education, Health, Apps, Gadgets, IoT, AI, Business, Digital Marketing and More!

Subscribe For Us

DMCA.com Protection Status

Our Feeds

Sitemap

RSS Feeds

Follow Us Here

Akshay
Online
Need help? Chat via Whatsapp

© 2019 - 2022 All rights reserved By WhatisWhatis.com

Need Help? Chat with us
Start a Conversation
Hi! Click one of our member below to chat on Whatsapp
The team typically replies in a few minutes.
Akshay
Need Any Help?