One of the core components of an object oriented programming language is classes. The classes are blueprints for objects, and are used to define what an object of a certain type can do and what kind of attributes it has.
Classes in AX are similar to classes in C#, but you don't specify the methods of a class within its curly brackets. Rather, you create new nodes under the class in the AOT for each method.
The class declaration is used to hold variables that are global in the class. These variables are always protected as opposed to private and public. This means that objects of that class or objects of a subclass has direct access to these variables.
While developing you write classes. At runtime the classes are instantiated ...