Sunday, 18 August 2013

Why encapsulation is important feature of OOP languages?

Why encapsulation is important feature of OOP languages?

I came across different interview where question was asked to me why
encapsulation is used? Whose requirement actually is encapsulation? Is it
for users of program? or is it for co-workers? or is it to protect code
from hackers?

No comments:

Post a Comment