Illegal assignment from List to List Exception in Salesforce
We cannot create a class with the names Account, Contact, Opportunity, etc. These are Standard object names. They are reserved keywords in Salesforce. So, you cannot use reserved keywords for ....