Salesforce Supports 3 Kinds of For loop
for (init_stmt; exit_condition; increment_stmt) {
// Code block
}
for (datatype variable ; list_or_set) {
// Code block
}
If you have any query or any suggestion you can message me @cloudyamit OR you can email me @[email protected]
Happy Learning 😉 Sharing is Caring 🙂
#SFDCPanther #BAM