+ 2

can anyone define class in brief?

17th Jul 2016, 8:50 AM
Aalap Patel
Aalap Patel - avatar
5 Answers
+ 2
Same with struct, but with advanced encapsulation.
17th Jul 2016, 8:55 AM
_Geometry dash_ _Roh_ (AKA NovaRate0315)
_Geometry dash_ _Roh_ (AKA NovaRate0315) - avatar
+ 1
A class is a user defined type or data structure declared with keyword class that has data and functions ( methods ) as its members whose access is governed by the three access specifiers private, protected or public.
17th Jul 2016, 9:16 AM
Karan Luther
Karan Luther - avatar
+ 1
it is used to create user-defined data types, which are very useful in object oriented programming.And code some program to orient objects.
17th Jul 2016, 12:28 PM
basically a class is a user defined data type. simply speaking its an blue print of an object which may belong to that class.
24th Jul 2016, 7:11 PM
Dinesh C
Dinesh C - avatar
class in simple terms is a type of data
3rd Aug 2016, 6:04 PM
Rohit Choudhary
Rohit Choudhary - avatar