 Omitting a method from the pair yields a "read-only" or an uncommon "write-only" property.In some languages with no built-in support for properties, a similar construct can be implemented as a single method that either returns or changes the underlying data, depending on the context of its invocation.Such techniques are used e.g.