function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pradeep Pradhan 21Pradeep Pradhan 21 

Write an apex program, to fetch the Account Record based on the specified name and fetch all the Related Contacts, Opportunities, and Cases associated with the account.

SwethaSwetha (Salesforce Developers) 
HI Pradeep,

A similar ask was posted here:
https://salesforce.stackexchange.com/questions/68848/how-to-get-cases-opportunities-contacts-associated-with-account-object-dynamic
https://salesforce.stackexchange.com/questions/219372/how-to-return-all-related-opportunities-cases-contacts-from-an-accountid-in-on

If this information helps, please mark the answer as best. Thank you