Suppose we have a class named Calculator
. There's a class method in it, called runProgram
. If I wanted to call this class method, inside the class's implementation, what would the difference between these two be:
[Calculator runProgram]
OR
[self runProgram]
Are these both the same?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With