Is encapsulation used for binding the data or as given in this for the security....... So consufing huh | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is encapsulation used for binding the data or as given in this for the security....... So consufing huh

confused because of Google 😢😢

23rd Feb 2017, 2:45 PM
Afreen Sultana
Afreen Sultana - avatar
1 Answer
0
both. binding of data will give security from unauthorised access outside of class.
24th Feb 2017, 10:56 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar