Multiple choice technology programming languages

select the option for- syntax for writing a class parameter

  1. w var1

  2. w this.var1

  3. w ..var1

  4. w ..#var1

  5. w (classname).var1

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

In Cache ObjectScript, the syntax ..#var1 is used to reference class parameters with indirection. The ## (double dot) operator provides access to class parameters, while the # symbol allows for parameter reference. Option w (write) is the command to output the value, making w ..#var1 the correct syntax for writing a class parameter value.