














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
It is useful to study and learn
Typology: Study notes
1 / 54
This page cannot be seen from the preview
Don't miss anything!















































P.Raja, Assistant professor in ES(D4), SEEE, LPU
OOP Terminology Creating classes Creating instance objects Accessing attributes Class Inheritance Overriding methods Data hiding Function overloading
OOP TERMINOLOGY Function overloading − The assignment of more than one behavior to a particular function. The operation performed varies by the types of objects or arguments involved. Instance variable − A variable that is defined inside a method and belongs only to the current instance of a class. Inheritance − The transfer of the characteristics of a class to other classes that are derived from it. Instance − An individual object of a certain class. An object obj that belongs to a class Circle, for example, is an instance of the class Circle.
OOP TERMINOLOGY Instantiation − The creation of an instance of a class. Method − A special kind of function that is defined in a class definition. Object − A unique instance of a data structure that's defined by its class. An object comprises both data members (class variables and instance variables) and methods. Operator overloading − The assignment of more than one function to a particular operator.
Every object has the following property.
Class : Person