TxDOT interview question

What is the difference between flexible and rigid pavement?