+ 4

Why Classes c++

I don't really understand why do we use classes In c++? what is it's use? Can you help?

29th Apr 2017, 11:36 AM
keivan Ipchi
keivan Ipchi - avatar
2 Respostas
+ 2
It's because of classes that you utilize all your features of an object oriented programing. 1.Encapsulation 2.Data Hiding 3.Polymorphism 4.Abstraction 5.Inheritance All these features allow us to make an efficient, programmer friendly code that is easily readable and understandable. You need this when you're working with a company or making a project on real data and the code is to be applied for commercial purposes.
29th Apr 2017, 1:24 PM
NehaJeevan
NehaJeevan - avatar
+ 5
29th Apr 2017, 12:21 PM
Babak
Babak - avatar