Variables declared in a form’s declaration section have . . . . . . . . scope.

Class
Procedure
Block
Object

The correct answer is form.

A variable declared in a form’s declaration section has form scope. This means that the variable can be accessed from anywhere within the form, including from within procedures and functions.

The other options are incorrect because they do not accurately describe the scope of a variable declared in a form’s declaration section.

  • Class scope is the scope of a variable that is declared in a class. A variable with class scope can be accessed from anywhere within the class, including from within methods and properties.
  • Procedure scope is the scope of a variable that is declared in a procedure. A variable with procedure scope can only be accessed from within the procedure in which it is declared.
  • Block scope is the scope of a variable that is declared in a block. A variable with block scope can only be accessed from within the block in which it is declared.
  • Object scope is the scope of a variable that is declared in an object. A variable with object scope can only be accessed from within the object in which it is declared.
Exit mobile version