Accessing a class method

Differentiate between accessing a class method via -> and via ::?

E

Expert

Verified

:: is permitted to access methods which can perform static operations, that means those, which do not want object initialization.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.