Multiple choice technology programming languages

How to initialilze a variable irrespective of the data type

  1. Use statement CLEAR

  2. Var = 0.

  3. initialize var.

  4. VALUE is INITIAL

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

CLEAR is the standard ABAP statement to reset a variable to its initial value regardless of its data type. Setting var = 0 only works for numeric variables, initialize var is syntactically invalid, and VALUE IS INITIAL is used in conditional expressions rather than assignments.