Correct option is D
As per Section 162 of the Bharatiya Sakshya Adhiniyam, a witness can refresh their memory using writings made by themselves or others, documents with the court's permission, or professional treatises. Therefore, all these methods are allowed.