Computer Science, asked by swastikmohanty82, 7 months ago

Write a statement to refer a public member of an object ​

Answers

Answered by ritikasharma666677
0

Answer:

Ob.name of the member

ya h Tera answer

Answered by Anonymous
0

Answer:

Public Member of an object

Explanation:

The public member function can access any private, protected and public member of its class. Not only public member function, any member function of a class can access each and every other member declared inside the class.

Member functions are operators and functions that are declared as members of a class. Member functions do not include operators and functions declared with the friend specifier. These are called friends of a class. .The definition of a member function is within the scope of its enclosing class.

Similar questions