what is Static Method || static keyword || Salesforce developers • consultants

Поділитися
Вставка
  • Опубліковано 17 жов 2024

КОМЕНТАРІ • 19

  • @chandanshaw3957
    @chandanshaw3957 Рік тому +2

    I got the concept by seeing you video today.. Thanks to you I was never clear about static methods but now I am.

  • @prathameshkale1329
    @prathameshkale1329 2 роки тому +3

    We qcn apply static keyword to method, block n variable. Static is a class level variable..where we can directly use static variable inside the static method. We can directly call static method by (classname.methodname) without creating class object.

    • @Mtripathi347
      @Mtripathi347  2 роки тому

      Absolutely correct..

    • @Mtripathi347
      @Mtripathi347  2 роки тому

      Many of the developers start writing method with static keyword without even giving a thought of thinking about instance method and other oops concepts.. yes we can call them directly by classname.method name but that doesn’t mean we should make every method static.. difference lies in why and when we should use static rather than how to execute them

    • @prathameshkale1329
      @prathameshkale1329 2 роки тому

      I think You also telling the same thing..🙂

    • @Mtripathi347
      @Mtripathi347  2 роки тому +2

      Yup, we have a common goal 👍👍

  • @vaishalikambli1480
    @vaishalikambli1480 2 роки тому

    Nice explanation 👍. Thank you!

  • @gpatil7379
    @gpatil7379 2 роки тому

    Sir please make video on with Sharing , without sharing and inherited sharing. It is very imp topic

  • @payalsharma88234
    @payalsharma88234 2 роки тому

    Great video. 👌👌

  • @minalsalodkar3651
    @minalsalodkar3651 2 роки тому +2

    Sir plz make video on integration

    • @Mtripathi347
      @Mtripathi347  2 роки тому

      Yes Minal, I will bring that v soon.

  • @radhakrishnasharma7187
    @radhakrishnasharma7187 2 роки тому

    Thanks a lot Sir :)

  • @rohitjamdar4425
    @rohitjamdar4425 Рік тому

    Sunne mai acha laga lekin practically samaj nhi aa raha

    • @Mtripathi347
      @Mtripathi347  Рік тому

      hahaha mujhe bhi time laga samjhne me, sabko alag alag tarah se samaj aata hai.. u can call me at 9718872795, I will try to explain u , thanks