1.He is a 10-year-old boy,这里的10-year-old是定语.
2.He is 10 years old.这里的10 years old是表语.
没有10-year-olds这个说法.