Please give three differences
Attachments:
Answers
Answered by
1
Answer:
Question :-
- How are classes and objects different?
Answer :-
➻ Clásses :-
- It ya building blöck of cöde in C++ that helps implement object oriented programming.
- It is a type that is defined by the user.
- It hölds its own data members and member function.
➻ Objects :-
- An object is an instánce of a cláss.
- When a class is defined, memory is not allöcated to it.
- The moment an öbject is created, mëmory gets allöca ted to all the attribute of the cláss.
Answered by
1
Answer:
my name is not shreshti dear its angel
Similar questions
Political Science,
18 days ago
Math,
1 month ago
English,
1 month ago
Geography,
8 months ago
Biology,
8 months ago