Classes and Objects

The Fore language is object-oriented. It enables the user to describe their own classes in the program and to create concrete class-based objects used in the code. The referred language properties are described in this section.

The language allows the description of the hierarchy of generic parametric classes, which allow defining a set of class members for:

Other key language properties are the memory control model based on the object life cycle and garbage collection automatic control.

The language has and allows the creation of only one type that is a class. All standard types like Integer, Double, and so on are also classes, but do not allow for inheritance. All objects and types used in the Fore language have the same source base class that is Object. The variables declared with the Object type can contain any values.

See also:

General Information