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

Apex Class Vs Components ?

What is the difference between the apex class & components ?

Why to use components & as i feel that entire reusability things can also be achieved by the apex class ?

dotnet developedotnet develope

Hi Naresh,


Apex Class and Components are two different element in


Components are used for User interface purpose

Apex Class used for to implement business logic.


am i clear with the statement.