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...
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.
Size: 9.31 KB
Language: en
Added: Jul 05, 2023
Slides: 2 pages
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