Re:Java 9 features announced
by zo1 on Monday August 18, 2014 @03:57PM
(#8194295)
Your public facing methods/accessors are a sort of contract between a class, and whatever uses it.
The contract basically says: "I will behave as you expect me to and as we agreed but only as long as you only interact with me in the predetermined(designed) ways that I allow you to"
The contract basically says: "I will behave as you expect me to and as we agreed but only as long as you only interact with me in the predetermined(designed) ways that I allow you to"