A static member function can be called using the ____ name

25. A static member function can be called using the ____ name.

  1. Class name
  2. Object name

Answer: A) Class name

Explanation:

Static member function can be called using the class name (instead of an object name).

Example:

class-name::function-name

Comments and Discussions!

Load comments ↻






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