Why is it recommended to encapsulate in POO?

Asked

Viewed 51 times

4

Would you have small examples to show me? To understand why?

I’m studying PHP, but it can be in any language.

  • I had already passed that link In previous answer my if had seen would not need to ask question, but I understood that the question was different. I don’t think the answer there speaks the same as asked here, so much so that I was making an answer.

  • 1

    I voted to reopen the question.

  • Other: https://answall.com/questions/204355/o-que-acontece-na-vida-real-em-um-ambient-de-developer

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.