1 answer
Hi Vijaya,No you can also do it like below and it works,
But once it is initialised you cant change the value.Refer : https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_final.htmClose the thread if it cleared your doubt by marking as best answer.Regardspublic static final integer i;
i=3;