Discuss user-defined and attribute-defined specializations, and identify the differences between…

Discuss user-defined and attribute-defined specializations, and identify the differences between the two.