×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which operator is used to access the static variable and static function of a class?

97. Which operator is used to access the static variable and static function of a class?

  1. Scope Resolution Operator (::)
  2. Ternary Operator (? :)
  3. Member Access or Dot Operator (.)
  4. All of the above

Answer: A) Scope Resolution Operator (::)

Explanation:

Scope Resolution Operator (::), is used to access the static variable and static function of a class.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.