Tuesday, December 22, 2009

What's the difference between accessing a class method via -> and via ::?

:: is allowed to access methods that can perform static operations,
i.e. those, which do not require object initialization.

No comments:

Post a Comment

I just got my #domain @BigRock. Get upto 25% off with my personalized coupon link Get upto 25% off