Table of Contents
Introduction to Classes in X++: Basics and Examples
🔒 Please log in to unlock this course.
MCQ Section
MCQ 1
By default Instance fields are ?
Locked. Enroll to open this MCQ.
MCQ 2
Which method will allow the method to be called from anywhere that its class is accessible?
Locked. Enroll to open this MCQ.
MCQ 3
TRUE or FALSE. If a child class inherits methods from a parent class, those methods cannot be…
Locked. Enroll to open this MCQ.
MCQ 4
You are to complete the code needed to create methods in a class with inheritance. You would like…
Locked. Enroll to open this MCQ.
MCQ 5
What method is automatically added when you're creating a runnable class instead of a class?
Locked. Enroll to open this MCQ.
MCQ 6
You need to create inheritance within the classes. Which will best complete this statement? class…
Locked. Enroll to open this MCQ.
MCQ 7
You need to explicitly assign a text value from a table buffer variable to a string variable named…
Locked. Enroll to open this MCQ.
MCQ 8
Identify valid class name from below
Locked. Enroll to open this MCQ.
MCQ 9
Using the “Private” keyword for methods allows access to variables within those methods from within…
Locked. Enroll to open this MCQ.
MCQ 10
What does the following X++ code snippet achieve? void new(real _x = 10, real _y = 10) { x = _x; y…
Locked. Enroll to open this MCQ.
MCQ 11
You are to complete the code needed to create a method within a class. Your method will NOT return…
Locked. Enroll to open this MCQ.
MCQ 12
What is the reserved word in a function that is used when the method does NOT return a value?
Locked. Enroll to open this MCQ.
MCQ 13
Which keyword is used in the class declaration to specify class inheritance? This allows one…
Locked. Enroll to open this MCQ.
MCQ 14
What methods can you extend to use Chain of Command?
Locked. Enroll to open this MCQ.
MCQ 15
You need to instantiate a class. Which will best complete this statement? dbfmVehicleEntry…
Locked. Enroll to open this MCQ.
MCQ 16
Which type of class should be created in order to run a job?
Locked. Enroll to open this MCQ.
MCQ 17
What is the command used to call the method named myMethod in the parent class from the child…
Locked. Enroll to open this MCQ.
MCQ 18
You want to update a record in your SampleTable table that contains the account number 1234 by…
Locked. Enroll to open this MCQ.
Get D365 F&O X++ Programming Language Interview Questions & MCQs updates by email
Short, practical lessons and course updates from Rumman Ansari. No spam.