how do exons and introns differ?

exons do not have a code

introns code for proteins

introns do not have a code

exons code for proteins