adspace


Why do we use classes in c++?

Answer Posted / Vashu Rajput

Classes in C++ allow for the creation of user-defined data types and objects with their own properties (attributes) and behaviors (methods). They help organize code, encapsulate data, and promote reusability and maintainability.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version on c++?

1217


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1172


daily Routine of father

1492


Can union be self referenced?

1279


What character terminates all character array strings a) b) . c) END

1403