Object-oriented programming language (OOPL) is high-level programming language based on the object-oriented programming (oop's) model. that provide many concepts such as inheritance, data binding, polymorphism etc.
OOP'S Concepts :
OOP'S Concepts :
- Object & Class
- Abstraction
- Encapsulation
- Polymorphism
- Inheritance
#Object:
Any entity that has state & behavior is known as an object.
#Class:
A class is the blueprint of the object or Collection of the object is class.
#Abstraction:
Hiding Internal details and showing functionally is known as abstraction
#Encapsulation :
Binding (or wrapping) code and data together into a single unit as known as encapsulation
#Inheritance :
When one object acquires all the properties and behavior of the parent object.
#Polymorphism :
When one task is performed in different ways, we only use method overloading and overriding
Overloading :
When we have more than one method with the same name in a single class but the arguments are different, then is called as method overloading
Overriding:
Overriding concept come into the picture with inheritance, when have two methods with the same signature one in the parent class and another in the child class.
The Goals of oop's are :
oop's was to allow reusability of code you constantly write classes & interface these can be used again and by using inheritance.
#Robustness :
- the complex program should operate correctly.
- should deal with improper input and conditions
#Adaptability
- Software grows over a long lifetime.
- My run on the different generation and make of hardware.
#Reusability:
- building from reusable pice avoids.
you have written an excellent blog.. keep sharing your knowledge...
ReplyDeletePerl Training in Chennai
Perl Course in Chennai
Thank you for this great content its enlighten the ignorant
ReplyDeleteExcel Training in Chennai
Advanced Excel Training in Chennai