Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the difference between abstraction and encapsulation?
Home
JAVA
What is the difference between abstraction and encapsulation?
0
votes
asked
Apr 30, 2021
in
JAVA
by
rajeshsharma
What is the difference between abstraction and encapsulation?
#abstraction
encapsulation
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 30, 2021
by
rajeshsharma
Abstraction hides the implementation details whereas encapsulation wraps code and data into a single unit.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is the abstraction?
asked
Apr 30, 2021
in
JAVA
by
rajeshsharma
#abstraction
Java-questions-answers
0
votes
Q: How is Abstraction achieved in Java?
asked
Oct 13, 2020
in
JAVA
by
SakshiSharma
#abstraction
#abstraction-achieved-in-java
Java-questions-answers
0
votes
Q: what is encapsulation?
asked
Sep 25, 2021
in
Python
by
john ganales
encapsulation
Python-questions-answers
+3
votes
Q: Which of the following can be considered as an effective solution to ensure integrity?
asked
Jan 28, 2020
in
Ethical Hacking
by
AdilsonLima
#abstraction
+1
vote
Q: What is data encapsulation and what’s its significance?
asked
Jan 20, 2022
in
JAVA
by
rajeshsharma
data-encapsulation
Java-questions-answers
+1
vote
Q: What do you mean by data encapsulation?
asked
Jul 27, 2021
in
JAVA
by
SakshiSharma
data-encapsulation
Java-questions-answers
0
votes
Q: What are the advantages of Encapsulation in Java?
asked
May 2, 2021
in
JAVA
by
sharadyadav1986
#advantages-encapsulation
encapsulation-java
Java-questions-answers
0
votes
Q: How do we achieve encapsulation in java?
asked
Oct 27, 2020
in
JAVA
by
sharadyadav1986
#encapsulation-in-java
#java-encapsulation
Java-questions-answers
0
votes
Q: Encapsulation in Java with example [updated 2020]
asked
Oct 27, 2020
in
JAVA
by
sharadyadav1986
#encapsulation-java
Java-questions-answers
0
votes
Q: Why we need encapsulation in java?
asked
Oct 10, 2020
in
JAVA
by
Robindeniel
#encapsulation-java
Java-questions-answers
...