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

Examples for Apex Programming

HI all, i m new to this platform, also to Apex code development.

I m creating an application in which i need to use Apex programming,

i have java development background.


So what i need is, as many examples as possible in Apex programming,

so if anybody can provide me the websites which i can look into, so it will be helpful.


Thank You

All Answers

Shailesh DeshpandeShailesh Deshpande



Here you will find the documentation of almost everything related to apex and visualforce.


Thank u Shailesh and Dke01 for replying.


I will tell u whats happening, i m trying to execute a simple Hello World application

which i m unable to do, m getting some error, so i need as many examples as possible.

Those links u gave i have already  tried, i need some websites to learn other than


Thank you.


What is the error your are getting?

Hi  jamesGreen.ax691,

As you are from JAVA back ground you are good to start with Apex .

Please find the below post for some of the apex code examples 
Apex Code Basic Scenarios (

Let me know if you require any further scenioros.