General OOP Concepts
General OOP Concepts
Concepts
TYPES OF PROGRAMMING LANGUAGES, PROGRAMMING PARADIGMS,
BASIC CONCEPTS OF OOP
Types of Programming languages
The low level languages serve only the first aspect i.e., they are
close to the machine.
The high level languages serve only the second aspect i.e., they are
close to the programmer.
However, the languages ‘C’ and ‘C++’ serve both the aspects,
hence can be called as ‘middle level languages’.
Programming Paradigms
Security No No Yes
Platform No No Yes
Independent
Object Oriented No No Yes
Definition of Class:
A class is a group of objects that share common properties and
relationships.
A class is a specification or blue print or template of an object
that defines what goes to make up a particular sort of object.
Thus a class is a logical construct, an object has physical reality.
Class and Object
Definition of Object:
Object is an identifiable entity with some characteristics and
behavior.
Object is the physical reality of a class.
Technically object can be defined as “It is an encapsulated form
of all non-static variables and non-static methods of a particular
class”.
An instance of a class is the other technical term of an object.
The process of creating objects out of a class is called
instantiation.
Two objects can be communicated by passing messages
(arguments).
Class and Object