Class is user defined data type which contains methods, events, attributes, interfaces etc.