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
ManjusrinuManjusrinu 

inserting records in account object using apex class

Hi,
I need to insert a new record usimg apex class ,I wrote the following code ,,but i couldnt remove the errors.Can you please help me ??User-added image
Bhawana Mehta SFDCBhawana Mehta SFDC
your method singature doesnt seems right.
It should be void insertNewAccount(String name).