Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

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

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7791703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:58:14+00:00 2026-06-01T21:58:14+00:00

When studying OOP, mainly java, these two concepts are always linked, but I see

  • 0

When studying OOP, mainly java, these two concepts are always linked, but I see no real relationship or similarity between them. Correct my if I’m wrong but:

Abstraction is to identify key parts of an object and ignore everything else, used in interfaces.
Encapsulation just describes how data is protected and hided, it affects permissions.

I don’t see a real relation between the two, is there one? Also a simple description for each if mine were bad in any way would help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:58:15+00:00Added an answer on June 1, 2026 at 9:58 pm

    Those two concepts serve the same goal, in a way, even that Abstraction is more about the design, and encapsulation is more about the implementation (there are no fields and data when discussing Abstraction).

    This common goal is to give the user a simple and well defined interface to work with, so he doesn’t need to bother about the details, but only about what it does and how he connects with it.

    As an example, if you look at on/off switch, Abstraction will define it’s two conditions, and the way to switch between them, and encapsulation will choose to hide the wires and stuff inside the switch, and will let you see the familiar switch we all know. The common is that it’s usage is simple and standard, thanks to these two concepts.

    There is more to say about each of these concepts, but this is what I can tell you about the relation between them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In studying for the OCP Java Programmer Exam, I was slightly surprised to see
I'm studying java web services and trying to follow the oracle tutorial but it
when studying RMI sometimes (head first Java) dudes use Naming.rebind(name, object) but other peoples
I've been studying OOP for quite a while now and I have a good
While studying Java tutorials, Reflection and Late Binding have confused me. In some tutorials,
Studying STL I have tried to negate a functor with not2 but encontered problems.
i studying TDateTime functions and procedure, but not found something that allow me to
I'm new at object oriented programming and we are studying on a Java project.
Im studying some ruby code and I see this varx variable being used with
While studying a software methodologies, I often see disclaimers along the lines of This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.