What is the main difference between electro-magnetic waves theory and Planck's quantum theory?

What is the main difference between electro-magnetic waves theory and Planck’s quantum theory ?
(ii) Which rule is violated.in the following orbital diagram :