In OOP, 'protected' keyword is not required?

Published: 2/12/2019
In OOP, 'protected' keyword is not required?
Source: SOFTWAREENGINEERING.STACKEXCHANGE.COM

Some modern languages(Swift, Dart etc.. ) does not support 'protected'. Swift is a protocol-oriented language, but I've heard that Dart is a completely object-oriented language. Why aren't these modern languages ​​supporting 'protected'? Do you only need 'private' and 'public' for complete object-oriented programming? I think it's convenient to have an 'protected', and there are some

Read more
Related news
Comment
FACEBOOK