Classify these animals as either a reptile or an amphibian

crocodile, snake, alligator, frog, salamander