Professional Documents
Culture Documents
2- ties the data more closely to the functions that operate on it and protect
it from modification from outside function.
2
4- Inheritance
is the process of acquiring the properties of object of another class
5- Polymorphism
The ability to take more than one form depend on data type such as
the addition “+”can be used to add 2 number or concatenate two
string .
6- dynamic binding
linking of a procedure call to the code to be executed in response to
the call.
7- Message communication
Is a set of objects that communicate with each other by sending and
receiving message.
3
Q3- what is the features of object oriented programming.
Solution:
emphasis on data rather than function
2.we can build programs from the standard working modules rather
than starting writing the code from scratch( saving time)
5
5. It is easy to partition the work in a project based on objects