Difference between Class and Object?

All QuestionsCategory: Cpp LanguageDifference between Class and Object?
Anonymous asked 3 years ago
1 Answers
Anonymous answered 3 years ago
  • Object
    • the object is a collection of data and operations
    • the object is an instance of the class
  • Class
    • class is a collection of variables & functions
    • class is an outline for the creation of objects