+ 2

What is class on c+?

28th Apr 2019, 8:32 AM
Ayan Sarkar
Ayan Sarkar - avatar
7 ответов
+ 10
In C++, a class is a way that allows us to create objects like in Java. You can add properties to it as well as methods. Hope it helps 😃
28th Apr 2019, 8:45 AM
Edwin Pratt
Edwin Pratt - avatar
+ 7
Industry aspect, User defined data type, it's have member of veritable & method, we call it class.
29th Apr 2019, 12:22 PM
Nasir❤
Nasir❤ - avatar
+ 5
Something that combines/models the properties and behaviour of an object.
28th Apr 2019, 11:46 AM
Sonic
Sonic - avatar
0
classes defines the structure.... and that structures used by the objects. of that particular class..... there is no memory allocated to classes.... but based on that class the memory is allocated for objects
29th Apr 2019, 8:32 AM
Geetanjali Kore
Geetanjali Kore - avatar
0
A class is collection of data member &members function to declare a class we use class keyword & then name & we write class body after class closing braces
29th Apr 2019, 10:13 AM
Dhiraj Pathak
Dhiraj Pathak - avatar