 Some object-oriented languages, such as Java and C++, don't support properties, and require the programmer to define a pair of "accessor" and "mutator" methods instead.Oberon-2 provides an alternative mechanism using object variable visibility flags.Other languages designed for the Java Virtual Machine, such as Groovy, natively support properties.