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

Why we are using @ Symbol before writing Annotations?

Hi All,

I am very very new to Annotations, but not new to Salesforce.Why @ Symbol before Annotations?(Annotations are defined with an initial @ symbol, followed by the appropriate keyword)

as there should be some way to define them....

@ is used in salesforce as it is comman way in many other languages like java...

not just annotations,when new technologies come most of the practices being followed in existing technologies that are required will be kept similar to help people who are migrating from those technoogies....