You need to sign in to do that
Don't have an account?

would u plz tel how to write code in vf
We have 3 objects Account, Contact, Opportunity. In a VF page, we need to display the names of contact & Opportunity which are related to Account.

Please try below code
Let us know if this will help you