Which of the following is a type of rock that develops from molten rock cooling above the earth's surface?

A. granite
B. shale
C. obsidian
D. slate

C. obsidian