Activity Forums Salesforce® Discussions Is return type must for a method in Salesforce?

  • Sam J

    Member
    April 28, 2020 at 5:40 pm

    Yes, if functions returns some value then return type will be that specific type. Otherwise it has to be void.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos