1.

Which among the following can’t be used to access the members in any way?(a) Scope resolution(b) Arrow operator(c) Single colon(d) Dot operator

Answer» Correct answer is (c) Single colon

To explain I would say: The single colon can’t be used in any way in order to access the static members of a class. Other symbols can be used according to the code and need.


Discussion

No Comment Found

Related InterviewSolutions