He is a seven-year-old boy.<br/><br/>He is a seven year old boy.<br/><br/>Are both of these correct with slightly different connotations, or is one/both of them wrong?