0

what is the use of class in c++?

10th Sep 2017, 6:57 AM
likhitha maddula
likhitha maddula - avatar
2 Answers
+ 21
Object oriented stuff = encapsulation = more secure code = code reusability = managing large projects easily = maintaining more easily = dividing project modules easily between team members = .... Heart of all of them is class.
10th Sep 2017, 7:12 AM
Babak
Babak - avatar
+ 7
class is the way of implementing oops concept like encapsulation, data hiding, data abstraction, inheritance etc. c++ is the extended version of C, with additional features of language simula 67.simula 67 was one of the earliest object oriented languages. so classes are important part of c++.
10th Sep 2017, 7:19 AM
Swati Tiwari