Q:
What’s the difference between accessing a class method via -> and via ::?
Answer
:: is allowed to access methods that can perform static operations, i.e. those, which do not require object initialization.
View answer
Workspace
Report Error
Discuss