Both Java and C++ are object oriented programming languages. Object oriented programming emphasizes data. Object oriented programming attempts to fit the language to the problem; in other words, OOP is structured to produce an answer without changing the question. Object oriented programming involves two separate parts, class and objects.
· Class is a specification that describes a new data form, it ‘s a template that defines how an object will look and behave.
· An object is that particular data structure constructed using the parameters defined by class.