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
manojjain4328manojjain4328 

How to pass optional/default parameter in apex method

Hi all,

 

I want to pass optional/default parameter in apex method,same as java.

But it throws error.

 

Is there any special way to pass optional/default parameter in apex method?

 

Please help me.

 

Regards,

Manoj Jain 

dke01dke01
No I do not think optional paramaters are supported