Popular Posts

Tuesday, February 11, 2014

How is object oriented programming and procedural oriented programming are inter related???

Support of features
Object Based Language does not support all the features of Oops
Object Oriented Language supports all the features of Oops.

Inheritance
Object Based Language Does Not Support Oops feature i.e. Inheritance.
Object Oriented Language supports all the Features of Oops including Inheritance.

Sample
Visual Basic is an Object based Programming Language because you can use class and Object here but can not inherit one class from another class i.e. it does not support Inheritance.
Java is an Object Oriented Languages because it supports all the concepts of Oops like Data Encapsulation, Polymorphism,Inheritance,Data Abstraction , Dynamic Binding etc.

Example
Javascript, VB are example of Object Based Language.
C#, Java, VB. Net are example of Object Oriented Languages.

No comments:

Post a Comment