Activity Forums Salesforce® Discussions What is the use of final keyword in Apex in Salesforce?

  • Shweta

    Member
    June 11, 2020 at 6:47 am

    We can use the final keyword to modify variables. Final variables can only be assigned a value once, either when you declare a variable or inside a constructor. You must assign a value to it in one of these two places.

  • Sumit

    Member
    June 11, 2020 at 6:51 am

    We can use the final keyword to modify variables. Final variables can only be assigned a value once, either when you declare a variable or inside a constructor. You must assign a value to it in one of these two places.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos