China followed a policy of isolationism and did not interact with the outside world. Confucius was an important religious leader who taught rules for right living through practice and virtue. The aims of Chinese education were ideological and moral learning focused on Confucian teachings, cultural development, and preparing students for civil service. Instruction methods included memorization of Confucian classics and teachings. Schools were located in homes, private institutions, and temples. The civil service examination was an important contribution of Chinese education.