+ 2
What is class on c+?
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 😃
+ 7
Industry aspect, User defined data type, it's have member of veritable & method, we call it class.
+ 5
Something that combines/models the properties and behaviour of an object.
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
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