Under the Terms of Service you have given Yahoo a lifetime right to use your content. Even if you close your account all your content will stay on the data base.
Questions can be deleted up to the point they get an answer, answers can be deleted up to the point a best answer is picked, other than that, things stay.
See
https://help.yahoo.com/kb/answers/question-answer-sln4198.html?impressions=true