Class and header file are doing the same thing, right? So what is the difference between them π€
8/12/2021 3:53:43 AM
K S Mirthun5 Answers
New AnswerNo, they don't have a similar purpose. Header files are used to store declarations in one location and then import them wherever we need them. Classes are used to create and manage new objects. it is the basic ingredient of OOP.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message