SObject field access
Use dot notation when you know the field while you write the code.
Your task
Set and read Account fields in memory with both dot notation and the dynamic put and get methods.
String name = 'AS Field Practice';
String description = 'Prepared in memory';
Account acct = new Account();
String dynamicDescription;Requirements
put('Description', ...)should be presentget('Description')should be present- The Name field should be printed as
Dot name: AS Field Practice - The dynamic field should be printed as
Dynamic description: Prepared in memory - An unset Phone should be printed as
Phone unset: true - An unsaved record should be printed as
Id unset: true