1 Answer - Sort by: Date | Rating
Object oriented programming (OOP), as the name suggests, is a paradigm where we focus real life objects while programming any solution. By focusing real life objects we mean that over solutions revolves around different objects, which represent respective objects in real life situation. We not only write programs to process data, we actually write behaviours of our programming objects, those behaviours are called methods in objected oriented programming. The data elements on which those objects behave, are called data-members/ fields.
In a more in-depth view towards OOP using domain specific terminology, following are the fundamental features we get:
Encapsulation
Inheritance
Re-usability
Information Hiding
Encapsulation:
The way we make a logical boundary around behaviours (methods) and data (properties) they work on is called Encapsulation.
Inheritance:
As in real life, objects in OOP relate to each other in one way or another, the relationship in most of the case is parent/child relationship. The child objects inherent all the functionalities (methods) and data (properties) of their parents.
Re-usability
Along with inheritance, some other phenomena like method overloading and overriding, provide code-reuse, which is known to be a very basic feature of object oriented programming.
Information Hiding
When we have ways to reuse our code through one way or other, we are also in need of some security regarding our source code. To protect it from unauthorized access/ alteration. In object oriented programming, this is called Information Hiding and is achieved through "Access Modifiers" which lets us restrict access to all or some parts of our objects methods and/or data.
In a more in-depth view towards OOP using domain specific terminology, following are the fundamental features we get:
Encapsulation
Inheritance
Re-usability
Information Hiding
Encapsulation:
The way we make a logical boundary around behaviours (methods) and data (properties) they work on is called Encapsulation.
Inheritance:
As in real life, objects in OOP relate to each other in one way or another, the relationship in most of the case is parent/child relationship. The child objects inherent all the functionalities (methods) and data (properties) of their parents.
Re-usability
Along with inheritance, some other phenomena like method overloading and overriding, provide code-reuse, which is known to be a very basic feature of object oriented programming.
Information Hiding
When we have ways to reuse our code through one way or other, we are also in need of some security regarding our source code. To protect it from unauthorized access/ alteration. In object oriented programming, this is called Information Hiding and is achieved through "Access Modifiers" which lets us restrict access to all or some parts of our objects methods and/or data.
0
0
- Write A C++ Program That Prints Out Selection Sort And Prints Out The Computer Time Used?
- What Is The Chaffee Program?
- How Dbms Provides Concurrency?
- What Data Redundancy In Database?
- Write A Program To Find Out How Many Upper Case Letter In A String Line?
- Why We Use This Method In Java?
- What Is A Paper Based System?
- What Is The Difference Between DBMS And File Management?
- What Are The Benefits Of Using Database Approach?
- Why Java Not Supports Multiple Inheritence?
- What Is Difference Between For And Nested For Loops?
- How Do You Feel About Database?
- How To Search Input Numbers?
- Is This A Legitimate Program?
- How To Program Uniden Bearcat BC350A?
- What Are The Advantages Of A Pointer Variable?
- What Is The Role Of Target Language In Compiler Concept?
- What Was The First Couple Languages?
- Is It Possible To Create And Use A Master Page Without Using ASP.net For My Html Code? If So, What Do You Use?
- What Are The Five Basic Types Of Files In File Organization?
- What Are The 5 Basic Types Of File?
- Create A JavaScript Function That Finds The Average Of Three (3) Values, Which Are Sent To The Function When Called?
- State The Output That Will Be Produced By The Following C++ Program : #include #include Int Square (int Y ) { Return Y*y; } Void Main ( ) { For(int X=1;x?
- Find Error(s) In Each Of The Following Code Segment And Write The Correct Statement ? I.) X=1; While(x=10); Cout
- Explain The Difference Between PROGRAMMER DEFINED FUNCTION PRE-DEFINED FUNCTION By Using Examples?
- What Is Object Oriented Programming?
- What Makes Object Oriented Programming Different?
- Can You Define Reusability In Object-Oriented Programming?
- Why Is Java Not A Pure Object Oriented Programming?
- What Is Object Oriented Programming And What Are Its Benefits N Disadvantages?
- What Are The Differences Between Object Oriented Programming And Generations Programming?
- What Is Difference Between Structure Programming And Object Oriented Programming?
- Why Is Java Called Object Oriented Programming Language?
- Can You Define Classes Concept In Object-Oriented Programming?
- How Does Object Oriented Programming Differs From Structured Programming?Explain

New Comment - Comments are editable for 5 min.