966 questions

967 answers

11.3k users

3 Online Users
0 Member 3 Guest
Today Visits : 847
Yesterday Visits : 939
Total Visits : 821912

Categories

Dear All, these are my answers from Quora, and mainly Google, please check the answer and from other places, the answers are FREE and FREE of any liability, I try to help, but is a generall answer with a lot of good will, to think two times and ask from other places. Write in a paper all the positives and negatives in order to decide. Thank you Elias Katsaniotis.
0 votes

What is the difference between abstraction and encapsulation?

in Laravel by (42.5k points)

1 Answer

0 votes

Abstraction is the method of hiding the unwanted information. Whereas encapsulation is a method to hide the data in a single entity or unit along with a method to protect information from outside. We can implement abstraction using abstract class and interfaces.

by (42.5k points)
@ 2022 V Katsaniotis,All rights reserved
...