The housefly has a pupa stage in its life cycle. From larva, it enters into the pupal stage. When entering the pupal stage, white larvae develop hard, dark outer shells. Honeybee also has a pupa stage which develops from larva.
So, the correct answer is option B.