nerdexam
Microsoft

MB6-704 · Question #90

Which two statements accurately describe the characteristics of X++?

The correct answer is A. Performs automatic garbage collection B. Performs runtime checking. A: The basic strategy of the AX 2012 GC (garbage collection) is the same as it was even before AX 4. AX uses a deterministic GC to manage the lifetime of X++ objects and table buffers. The GC is deterministic in the sense that objects are guaranteed to be disposed from the C++…

Develop X++ code

Question

Which two statements accurately describe the characteristics of X++?

Options

  • APerforms automatic garbage collection
  • BPerforms runtime checking
  • CSupports method overloading
  • DSupports explicit programmer-defined pointer data types

How the community answered

(18 responses)
  • A
    72% (13)
  • C
    11% (2)
  • D
    17% (3)

Explanation

A: The basic strategy of the AX 2012 GC (garbage collection) is the same as it was even before AX 4. AX uses a deterministic GC to manage the lifetime of X++ objects and table buffers. The GC is deterministic in the sense that objects are guaranteed to be disposed from the C++ memory space at the earliest possible moment after they are no longer needed. The garbage collector in Dynamics Ax is very simple: it collects all unreferenced object every 3 seconds (ok, this is a little bit simplified, but it's pretty much what the GC does). Not C: X++ supports overriding, but it does not support overloading. Not D: X++ is an object-oriented language with similarities to C#. The memory management model of X++ is simple. Objects are created with a new operator. There are no explicit program- mer-defined pointer data types, and there is no pointer arithmetic.

Topics

#X++ language features#garbage collection#runtime checking#language characteristics

Community Discussion

No community discussion yet for this question.

Full MB6-704 Practice