Impeached South Korean President Yoon Suk Yeo has appeared in court, pledging to answer any questions.