1 / 5

Best learning of Polymorphism OOP

This is great presentation on polymorphism.Best practices.

Download Presentation

Best learning of Polymorphism OOP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. what is Polymorphism ? Effects Best Learning oop Tips !

  2. Polymorphism -best learning of oop ! In object-oriented programming, polymorphism refers to a programming language's ability to process objects differently depending on their data type or class. Features of Object Oriented Programming (OOP) 1. Object 2. Class 3. Data Hiding and Encapsulation 4. Dynamic Binding 5. Message Passing 6. Inheritance 7. Polymorphism POLYMORPHISM: A greek term means ability to take more than one form. An operation may exhibite different behaviours in different instances. The behaviour depends upon the types of data used in the operation. Example: ● ● Operator Overloading Function Overloading

  3. Polymorphism -best learning of oop ! Following are OOP concepts explained in brief, we’ll take the topics in detail. 1. Data Abstraction: Data Abstraction is a concept in which the internal and superfluous details of the implementation of a logic is hidden from an end user. Inheritance: Inheritance is most popular Concept in OOP’s .This provides a developer an advantage called reusability of code. Suppose a class is written having functions with specific logic, then we can derive that class into our newly created class and we don’t have to write the logic again for derived class functions, we can use them as it is. Data Encapsulation: Wrapping up of member data and member functions of a class in a single unit is called encapsulation. The visibility of the member functions,data members is set via access modifiers used in class. Polymorphism: Poly means many and morphism means changing or alterable. The Concepts Introduces in the form of Many behaviours of an object. Message Communication: Message Communication means when an object passes the call to method of class for execution. 2. 3. 4. 5.

  4. Polymorphism -best learning of oop !

  5. Polymorphism -best learning of oop ! it is also called early binding or method overloading. We catered most of the scenarios specific to polymorphism.We also learned about the use of powerful params keyword and its use in polymorphism. Eleanora Smit - Web developer at http://www.beyonddietcentral.com/

More Related