Use Coupon: CART20 and get 20% off on all online Study Material

Total Price: R

There are no items in this cart.
Continue Shopping
Get instant 20% OFF on Online Material.
coupon code: MOB20 | View Course list

  • Complete JEE Main/Advanced Course and Test Series
  • OFFERED PRICE: R 15,000
  • View Details
Get extra R 3,000 off


What is Object Oriented Programming

7 years ago


Answers : (3)


A type of programming in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure. In this way, the data structure becomes an object that includes both data and functions. In addition, programmers can create relationships between one object and another. For example, objects can inherit characteristics from other objects.

* One of the principal advantages of object-oriented programming techniques over procedural programming techniques is that they enable programmers to create modules that do not need to be changed when a new type of object is added. A programmer can simply create a new object that inherits many of its features from existing objects. This makes object-oriented programs easier to modify.

Object-oriented programming (OOP) is a programming paradigm that uses "objects" and their interactions to design applications and computer programs.

 Programming techniques may include features such as information hiding, data abstraction, encapsulation, modularity, polymorphism, and inheritance. It was not commonly used in mainstream software application development . Many modern programming languages now support OOP.

7 years ago

The Main Feature of Object Oriented Programming are :


The term encapsulation is often used interchangeably with information hiding.Information hiding in computer science is the principle of hiding of design decisions in a computer program that are most likely to change, thus protecting other parts of the program from change if the design decision is changed.In modern programming languages, the principle of information hiding manifests itself in a number of ways, including encapsulation (given the separation of concerns) and polymorphism.A common use of information hiding is to hide the physical storage layout for data so that if it is changed, the change is restricted to a small subset of the total program.


In general, polymorphism describes multiple possible states for a single property.In Short Single Interface Multiple Behaviour.

polymorphism is a programming language feature that allows values of different data types to be handled using a uniform interface. The concept of parametric polymorphism applies to both data types and functions. A function that can evaluate to or be applied to values of different types is known as a polymorphic function. A data type that can appear to be of a generalized type is designated polymorphic data type like the generalized type from which such specializations are made.


In object-oriented programming, inheritance is a way to form new classes (instances of which are called objects) using classes that have already been defined.The new classes, known as derived classes, take over (or inherit) attributes and behavior of the pre-existing classes, which are referred to as base classes (or ancestor classes). It is intended to help reuse existing code with little or no modification.


Complexity is removed using Abstraction.


7 years ago

Features of Object-Oriented Programming Languages

Data encapsulation or data abstraction

Data encapsulation, sometimes referred to as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. The user can only perform a restricted set of operations on the hidden members of the class by executing special functions commonly called methods. The actions performed by the methods are determined by the designer of the class, who must be careful not to make the methods either overly flexible or too restrictive. This idea of hiding the details away from the user and providing a restricted, clearly defined interface is the underlying theme behind the concept of an abstract data type.

Inheritance or derivation

Inheritance, or derivation, provides a clean mechanism whereby common classes can share their common features, rather than having to rewrite them. For example, consider a graph class which is represented by edges and vertices and some (abstract) method of traversal. Next, consider a tree class which is a special form of a graph. We can simply derive tree from graph and the tree class automatically inherits the concept of edges, vertices and traversal from the graph class. We can then restrict how edges and vertices are connected within the tree class so that it represents the true nature of a tree.


Dynamic or runtime binding

 Quite often when using inheritance, one will discover that a series of classes share a common behaviour, but how that behaviour is implemented is different from class to class. Such a situation is a prime candidate for the use of dynamic or runtime binding which is also referred to as polymorphism.

Going back to our previous example, we may decide to derive two tree classes from our graph class, the first class, in_order_tree would be traversed in an ``in order'' fashion when it received a traverse() message, whereas post_order_tree would be traversed in a ``post order'' manner. The different traversal algorithms could be incorporated into a dynamically bound traverse() method. Now, when one of these trees is passed to a function which accepts a reference to a graph class, the invocation of the traverse() method via the graph parameter would call the correct traversal algorithm at runtime depending upon which tree was passed to the function. This reduces the burden on the programmer since a tag does not have to be associated with each class derived from graph to distinguish it from other graphs. In addition, the programmer would not have to maintain an unwieldy switch statement to determine which traversal algorithm to invoke since this is all handled automatically by the compiler.

7 years ago

Post Your Answer

Other Related Questions on Computer Science And Technologies

Plz explain Assembler , Compiler, interperter, nonprocedural language, structured software and object oriented software??
Assembler- A computer program that takes computer instructions and converts them into a pattern of bits that the computer can understand and perform by it certain operations. Compiler- This ...
Navjyot Kalra 7 years ago
How The Global Positioning System works?
The Global Positioning System (GPS) is a satellite based navigation system developed by the United States Department of Defense. It is widely used for civilian navigation and positioning,...
Radhika Batra 7 years ago
sir i want to know that which iit is best for in computer science ???????????
All IITs are best as per the branch. It depends on the rank which u get to get into an IIT. I can give you a rough estimate about the ranking the trends change every year but roughly...
Ramesh V 7 years ago
It cant be said that which iit is best for computer science but one thing can be said that iit delhi has one of the most challenging curriculum and very good fascilities for engineering in...
AskiitianExpert Vinayak-iitd 7 years ago
Please give me some guidance about Geographic Information System and some refference website link related to the topic. I need it for preparing my seminar..
Geographic Information System A geographic information system (GIS) integrates hardware, software, and data for capturing, managing, analyzing, and displaying all forms of geographically...
Hrishant Goswami 7 years ago
which is the best feild which should be taken to aquire future occupation in robotics feild.
Robotics requires the knowledge of mechanical, electrical and computer science. You can choose any one according to your interest and go towards it. Thanks.
Vijay Mukati one year ago
Can there be any other subject related to robotics other than the previous ans
VINEETH N one year ago
Is it not related to nanotechnology?
VINEETH N one year ago
I have a domicike of Haryana and I have. Completed my class 12 from Uttar Pradesh Lucknow. Can I have my home state quota as Haryana?
Krishna Bondriya 4 months ago
@ aryan It doesnot matter from where u have complted the class 12 th , the domicile will be determined only by the income certificate of your parents , ar any proof of that , if your...
Umakant biswal 4 months ago
On your site, why BITSAT expected 2016 cut off score is shown going down from last year ?
@ jayant The cutoff for exams are depend upon multiple factors 1- the no of students taking the exam , 2- the seats in the 3 bits campous 3- the toughness of question paper , and the...
Umakant biswal 3 months ago
Dear Student, there is nothing new about it. The cutoff of the result varies every year dependendin on the merit list of that particular year. You just check in your own status and if you...
Aneesh Sehgal 3 months ago
View all Questions »

  • Complete AIPMT/AIIMS Course and Test Series
  • OFFERED PRICE: R 15,000
  • View Details
Get extra R 3,000 off

  • Complete JEE Main/Advanced Course and Test Series
  • OFFERED PRICE: R 15,000
  • View Details

Get extra R 3,000 off

More Questions On Computer Science And Technologies

Ask Experts

Have any Question? Ask Experts

Post Question

Answer ‘n’ Earn
Attractive Gift
To Win!!!
Click Here for details