concepts of oop
TRANSCRIPT
PREPARED BY
AKSHAY JANI (116380307521)
ACKNOWLEDGEMENT WE ARE IMMENSLY GREATFUL TO OUR LECTURER AND
PROJECT GUIDE, MR.MITESH JAISWAL, FOR HER INVALUABLE GUIDANCE WHICH GAVE US A DEEP INSIGHT ON THE SUBJECT. WITH HER KEEN INTEREST AND CONSTANT MORAL BOOSTING, WE ARE ABLE TO IMPLEMENT THE PROJECT SATISFACTORILY.
WE EXPRESS OUR VERY SINCERE THANKS TO COMPUTER ENGINEERING DEPT. FOR PROVIDING ADEQUATE FACILITIES TO COMPLETE OUR PROJECT.
WE ARE AGAIN CORDIALLY THANKFUL TO OUR C&E DEPARTMENT STAFF, FRIENDS AND OTHER PEOPLE WHO HAVE DIRECTLY OR INDIRECTLY HELPED US IN COMPLETION OF THIS PROJECT.
LAST BUT NOT THE LEAST, WE ARE ALSO THANKFUL TO OUR FAMILY MEMBERS WHO ENGOURAGED AND SUPPORTED US ROUND THE CLOCK FOR THIS PROJECT.
Akshay Jani
Kaushal Soni
CERTIFICATE
This is to certify that AKSHAY JANI Student of computer Engineering,
bearing Enrollment No: 116380307521 have satisfactorily completed
his/her Seminar work as a part of course curriculum in Diploma
Engineering semester III having a report title “ CONCEPT OF OBJECT
ORIENTED PROGRAMMING ”.
MR.MITESH JAISWALLecturer, computer Dept.
PIETDS-2nd Shift, Limda.
PARUL INSTITUTE OF ENGINEERING & TECHNOLOGY
COMPUTER ENGG. DEPARTMENT
LIMDA, VAGHODIA, VADODARA
CERTIFICATE
This is to certify that KAUSHAL SONI Student of computer Engineering,
bearing Enrollment No: 116380307509 have satisfactorily completed
his/her Seminar work as a part of course curriculum in Diploma
Engineering semester III having a report title “CONCEPT OF OBJECT
ORIENTED PROGRAMMING ”.
MR.MITESH JAISWALLecturer, computer Dept.
PIETDS-2nd Shift, Limda.
PARUL INSTITUTE OF ENGINEERING & TECHNOLOGY
COMPUTER ENGG. DEPARTMENT
LIMDA, VAGHODIA, VADODARA
BASIC CONCEPT OF OBJECT
ORIENTED PROGRAMMING
Object
Classes
Data abstraction
Data encapsulation
Inheritance
Polymorphism
Dynamic binding
Message passing
Object OBJA1
A2
A3
sum( ) product( )
{ {
A3=A1 + A2; A3=A1 * A2 ;
Return A3; Return A3;
) )
If he requires Product of two
numbers than he simply
write
OBJ.product( )
It is like steering in car
If he requires sum of two
numbers than he simply write
OBJ.sum( )
It is like brakes in car
Name of objec : OBJ
Names of Functions: Sum() , Product()
He can not see the internal structure of the car.
abstraction involves the facility to define objects that represent abstract "actors" that can perform work, report on and change their state, and "communicate" with other objects in the system.
Data
A1, A2, A3
Operations/functions
sum( ), product( )
VEHICLE
AUTOTypeofEngine
PowerofEngine
PULLEDNo_of_pullers
AEROMaxHeight
MinHeight
Type_of_Engine
Power_of_Engine
LANDNwheels
Dwheels
TypeofEngine
PowerofEngine
AQUApositionType
TypeofEngine
PowerofEngin
e
A B
CA
B
C
A
B
A
B C D
A
B C
D
A
B C
D
It is made of two words
Poly means many & Morphism means forms
So if something is in more than one form it may be termed as
Polymorphic and this feature is called
Compile time polymorphism Run time polymorphism(1) Function overloading
(2) Operator
overloading
(1) Virtual function
It means the function associate with a
given procedure call is known until at
time of run time is calls dynamic binding
or late binding.
)
www.facebook.com/jani.akshay