Class: It is a programming language concept which permits data and techniques to be grouped altogether. The class concept is basic to the notion of an object-oriented programming language. Methods of a class define the set of permitted operations on the class's data (that is, its attributes). This close tie among data and operations means that an instance of a class-an object-is accountable for responding to messages received through its stating class's methods.