Question: Review the statements below. Does the use of the dim function change the class of y, and if so what is y's new class?

  1. No, y's new class is "array".
  2. Yes, y's new class is "matrix".
  3. No, y's new class is "vector".
  4. Yes, y's new class is "integer".

Answer: The correct answer of the above question is Option B:Yes, y's new class is "matrix".