Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.

Object Oriented

Level include object oriented features that can be combined with structured programming and functional programming to create heterogeneous programs. Level uses a single inheritance model. All classes are extensions of a single class called Object. In this regard Level is very similar to Java.

  • Level classes are based on single inheritance paradigm;
  • Classes are equivalent to types with attached methods;
  • One module can implement one or more classes;
  • Some classes are private to module members only;
  • A module can export one or more classes to become public classes;
  • One class can be instantiated. We can have multiple instances of a class;

OOP Structures

1ClassObject template has: properties, methods
2FeatureAbstract specification define: forward methods
3ObjectThe root class of all classes
You need to login to view the rest of the content. Please . Not a Member? Join Us