Answer (D) is correct. The exchange of debt for a long-lived asset does not involve a cash flow. It is therefore classified as a noncash financing and investing activity.