Salesforce Apex Master Class (Ep. 26) - What are Conditional Statements (If/Else) In Apex

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

КОМЕНТАРІ • 6

  • @arnavparmar4719
    @arnavparmar4719 3 місяці тому

    Really grateful that I stumbled upon this channel. Was able to understand everything very clearly, Thank you Matt :)

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

    Very helpful. thanks Matt.

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

    Thank you Matt!

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

    Great content as always.
    I feel like the dog pillow is starting at me 😀

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

    Hi Matt,
    Thanks for creating such a great content 👍
    There is one question.
    In the example in this recording you defined a method within a class with the same name as the class itself. From my understanding that method became a Constructor (as you explained in a few episodes behind in the video regarding Constructors).
    If it's true and this method is a Constructor, it means that it should run each time you instantiate a class. And it should run without calling it directly, right?
    So, in the example you provided I don't understand if it ran or not. Also I don't understand how it can run given that it should return String value 🧐
    Would you please clarify?

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

      I think name is same for us but not for salesforce as apex is case sensitive and class name is starting with "C" and method name starting with "c"