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
anshuman mishraanshuman mishra 

Why date values must always be created with system static method?

I am new to apex and wanted to know,why do we need a system static method?Is there a reason for this?
Best Answer chosen by anshuman mishra
Rowallim TechnologyRowallim Technology
Hi Anshuman
I suggest you to go through the followng link to clear your query.
http://stackoverflow.com/questions/15550976/when-to-declare-a-method-as-static-in-salesforce
http://www.sfdc99.com/2015/01/22/introduction-to-the-static-keyword/
https://developer.salesforce.com/docs/atlas.en-us.apex_workbook.meta/apex_workbook/apex5_4.htm

 I hope you will get your answer.
If you think your questio is answered mark it as a best answer.
Thanks