Computer Science, asked by agirlishtomboy, 1 month ago

how can you create a class data member.

Answers

Answered by gtanmoy146
1

To use the data and access functions defined in the class, you need to create objects. Syntax: ClassName ObjectName; Accessing data members and member functions: The data members and member functions of class can be accessed using the dot.

Answered by KamilSinghThakur
1

Answer:

I hope this may help you

Good afternoon have a great day

May God bless you

Attachments:
Similar questions