0

what is meant by abstraction? and why it is used or when to use?

28th Apr 2018, 5:53 AM
Karankumar
3 Antworten
+ 4
abstraction means hiding some functionality of a process from the user.When you try logging in on Facebook,you enter your username abd password.During this,so many things happen that are unknown to you.All you see is if the log in was successful or not,not sure if this was a good example
28th Apr 2018, 6:56 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 4
Abstraction is used to help hide vital processes from a user that could disclose vulnerable information, so the user doesn't actually see what happens
28th Apr 2018, 7:07 AM
Theedon
Theedon - avatar
0
then what will encapsulation do?
28th Apr 2018, 7:27 AM
Karankumar