(a) A person may not willfully throw, shoot, or propel a rock, brick, piece of iron, steel, or other similar metal, or a dangerous missile at or into a vehicle or other means of transportation that is occupied by an individual.
(b) A person who violates this section is guilty of a misdemeanor and on conviction is subject to imprisonment not exceeding 1 year or a fine not exceeding $500 or both.