adplus-dvertising
frame-decoration

Question

Which is correct syntax to access the static member functions with class name?

a.

className . functionName;

b.

className -> functionName;

c.

className : functionName;

d.

className :: functionName;

Answer: (d).className :: functionName;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is correct syntax to access the static member functions with class name?