I was going through the 'Apex and Database basics' module in Trailhead and came across the following sentence in one of the units:
This example shows how the generic sObject variable can be assigned to any Salesforce object: an account and a custom object called Book__c.
sObject sobj1 = new Account(Name='Trailhead');
sObject sobj2 = new Book__c(Name='Workbook 1');
I think the sentence should have been like this: This example shows how the generic sObject variable can be assigned any Salesforce object: an account and a custom object called Book__c. What I mean is isnt the specific object being assigned to the generic object and not the other way around? I hope I've clarified my concern.