You are on page 1of 10

ACADEMY OF TECHNOLOGY

DEPARTMENT: ECE Semester: 6th


PAPER NAME: OBJECT ORIENTED PROGRAMMING PAPER CODE: OE-EC604C

POWERPOINT PRESENTATION ON UNDERSTANDING THE FEATURES OF OBJECT-


ORIENTED PROGRAMMING

NAME: PROGYNA CHATTERJEE ROLL NO. : 16900320007

TO FULFIL THE REQUIREMENT OF CONTINUOUS ASSESSMENT 1[CA1] OF B.TECH


▪ It is a programming paradigm including many fundamental languages like C + + ,
Java etc.
▪ It is modeling a system as a collection of object and hence the name object
appears in object oriented programming language (OOPs).
▪ Objects contain method/functions and data.

▪ An object provides public interface to code but maintains its own privacy i.e. it
doesn’t allow other parts of the system to know about the status of the functions
going on inside the object.

IN HERITANC E EN C APSULATIO N

▪ Classes inheriting characteristics of ▪ Enclosing information inside an


other classes is called inheritance. object is called encapsulation.
▪ Other name: Prototype. ▪ It makes certain field as private and
▪ Parent class extend properties to makes other part public.
child classes. ▪ Private Interface is method/attribute
▪ Reusability is related to inheritance. is available from other method of
same class.
▪ Multiple prototypes can be used in
▪ Private Interface is method/attribute
chain.
is available from outside the class.

ABSTRACTION POLYMORPHISM

▪ Users interaction with subset of an ▪ Creation of objects having similar


objects operation. behavior or actions.
▪ Simple classes are used in to reduce ▪ ‘poly’ means many and ‘morph’
the complexities of the program . means forms.
▪ If any complicated information is ▪ It allows different implementation of
used, it is hidden from user. the same method according to the
▪ Encapsulation is extension of basic requirement of the class.
abstraction. ▪ Polymorphism provides better
▪ Code duplication is avoided and
scalability and improves readability.
code reusability increases.

METHOD OVERRIDING METHOD OVERLOADING

▪ It is used in runtime polymorphism. ▪ It is used in compile time


polymorphism.
▪ When child class overrides parent
class’s method, the child class may ▪ Two methods having the same name,
offer alternate implementation. no of arguments given in the method
may vary. Depending upon the no of
arguments of the method, the results
may vary.

O B JECTS C L ASSES

▪ Segment containing attributes and ▪ Classes are individual type.


processes. O bjects are building
▪ Class allow its member to have its
blocks of programs.
own position and behavior and are
▪ Each object is derived from specific thus referred to as class instance.
class type.
▪ There are set of access specifiers in
▪ A variable/function/data structure every class.
might be called an object. ▪ Subclasses are also present inside
▪ Objects give idea to inheritance thus classes to make it class-protected.
improving dependability and
maintenance.

▪ Complex ideas can be repeated.


▪ They are reusable and are used in several application.
▪ Easy trouble-shooting.
▪ Classes are easier to debug.
▪ Inheritance helps to use the code again.

▪ The main four fundamental feature are the base of OOPs- encapsulation,
inheritance, polymorphism and abstraction.
▪ Encapsulation is self containing modules that connect processes to data.
▪ Inheritance helps in hierarchy building i.e. classes can be organized in hierarchy.
▪ Polymorphism enables creation of procedures regarding objects.
▪ Abstraction reduces the complexities.

▪ Dynamic Programming, by E. V. Denardo, Dover Publications, 2003.


▪ “The construction of optimal binary search trees using dynamic programming is
described in The Art of Programming: Sorting and Searching”, Vol.3, by D. E. Knuth,
Second Edition, Addison Wesley, 1998.

You might also like