Name key elements of Object-Oriented systems. Note .pdf

meerobertsonheyde608 13 views 2 slides Jul 05, 2023
Slide 1
Slide 1 of 2
Slide 1
1
Slide 2
2

About This Presentation

Name key elements of Object-Oriented systems.
Note : no plagiarism please
Name key elements of Object-Oriented systems.
Name key elements of Object-Oriented systems.
Name key elements of Object-Oriented systems.
Note : no plagiarism please
Solution
there are 3 basic elements of object oriented syste...


Slide Content

Name key elements of Object-Oriented systems.




Note : no plagiarism please


Name key elements of Object-Oriented systems.

Name key elements of Object-Oriented systems.
Name key elements of Object-Oriented systems.




Note : no plagiarism please

Solution

there are 3 basic elements of object oriented system.they are:-
1.inheritance 2.polymorphism 3.encapsulation
Inheritance:-
inheritance is a concept where a class or an object can get the properties of its parent or sibling
class,for example let us consider A is a parent class and it has a method called read_me().and B
is another class inherited from class A.so using inheritance B class also has access rigths or can
explicitly use the read_me() method from A.
polymorphism:- (poly-many) (morph-forms)
polymorphism is an ability of an object to take on many forms.in general sense polymorphism
means a parent class refering the child class object
encapsulation:-
encapsulation in oop is nothing but binding or grouping of methods and member function in a

class
Tags