Polymorphism in Salesforce Apex

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 6

  • @Pkumarupadhyay
    @Pkumarupadhyay 5 месяцев назад +1

    Method Overriding is -
    - accessing properties and behaviour of Parent Class.
    - Use of Virtual and Override keywords.
    - Executed runtime, also called dynamic Polymorphism.
    Method Overloading is -
    - defining method of same name with different parameters in same class.
    - static method, executed compile time, also called static polymorphism.

  • @angelorigo
    @angelorigo 7 месяцев назад

    Great video

  • @jugalzade7083
    @jugalzade7083 7 месяцев назад

    Sir, please make a detail video on Dynamic Apex Schema.

  • @sailaja-ex9nf
    @sailaja-ex9nf 7 месяцев назад

    method overloading is defining methods with same name in the same class with different parameters. this will be executed during the compile time-Static polymorphism
    Method Overriding is overriding parent class methods in child class with same name and same parameters. this will be executed during run time- Dynamic Polymorphism

  • @Dudez_gaming
    @Dudez_gaming 6 месяцев назад

    Method overriding is nothing but accessing parent class method in child class with its own properties or variables , where as method overloading is nothing but declaring same method with different parameters multiple times for the same purpose in a class