How Trigger.new different from Trigger.newmap?
Trigger.New :- this is a list of sobjects and also returns a list of records in an ordered manner. In case of DML operation on opportunity, trigger.new will contain all list of opportunity records. In the similar way, if DML operates on a contact object, trigger.new will contain a list of contact records.
Support we have custom object called AccountContactRelationship_c then trigger.New means list
Trigger.newmap:- This is a map with key as Id of salesforce record and value as the record itself. In similar kind of example which we mentioned above, whenever or wherever we will use trigger,newmap then it means key and value pair which mean opportunity Id and opportunity record it self.Also, it’s really important to notice that trigger.newmap can’t be used in before insert operation because record will be not available in before insert. So trigger.newmap will not get any record Id.
Support we have custom object called AccountPartnerTeam_c then trigger.New means map