Question: The code below compiled and executed without issue before the addition of the line declaring errorStatus. Why does this line break the code?

  1. `StatusError` is an object, not a class and cannot be instantiated
  2. Only one instance of the class `Status` can be instantiated at a time
  3. `Status.Error` must be declared as an immutable type
  4. `Status.Error` is pribate to class and cannot be declared externally

Answer: The correct answer of the above question is Option A:`StatusError` is an object, not a class and cannot be instantiated