Difference between oop and pop?
Ans.-Object-
oriented programing:
1.)
Object
oriented programing is the problem solving approach and used where computation
is done by using objects.
2.)
It
makes the development and maintenance easier.
3.)
It
simulates the real world entity. So real- world problems can be easily solved
through oops.
4.)
It
provides data hiding. So it I more secure than procedural languages. You cannot
access private data from anywhere.
5.)
Example:
C++,Java, .Net .Python etc.
Procedural programming:
1.)
It
uses a list of instructions to do computations step by step.
2.)
It
is not easy to maintain the codes when the project became lengthy
3.)
It
doesn’t simulates the real world .It works on step by step instruction divided
into small parts called functions.
4.)
Procedural
language doesn’t provide any proper way for data binding , so it is less secure
.
5.)
Example
: C , Fortran,Pascal, VB etc.