✏️ Explanatory Question
Explain the purpose of the static keyword in X++. Discuss how static members differ from instance members in terms of memory allocation, object creation, and session behavior. In your explanation, include practical scenarios where static methods are preferable, such as when a method does not require access to class member variables or instance methods.