>>> A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class.
>>> It actually contains data and there behaviour / methods in it and for utilization of it we need to create an object of that particular class.
>>> A collection of data and code to handle that data.
>>> Class is a user defined type / abstract data type.
>>> A class is a pattern, template, or blueprint for a category of structurally identical items. The items crated using the class are called instances.
>>> A class is a set of objects that share a common structure and a common behaviour.
>>> Each class diagrams is broken up into two separate sections (besides the name itself). The first section contains the data (attributes), and the second section contains the behaviours (methods).
>>> For example, the class Dog would consist of traits shared by all dogs, for example breed,fur color, and the ability to bark.
>>> Classes provide modularity and structure in an object - oriented computer program.
>>> In above figure, the employee class diagram's attributes section contains SocialSecurityNumber, Gender and DateOfBirthd, whereas the method section contains the methods that operate on these attributes.
>>> A class should typically be recognizable to a non - programmer familiar with the problem domain, meaning that the characteristics of the class should make sense in context. Also, the code for a class should be relatively self - contained. Collectively, the properties and methods defined by a class are called members.