Question: When is deinit called?

  1. When a class instance needs memory
  2. All of these answers
  3. When the executable code is finished
  4. When a class instance is being removed from memory

Answer: The correct answer of the above question is Option B:All of these answers