answersLogoWhite

0

Oops! What an excellent concept. Nowadays in software filed any latest language has implemented, it should be partially are fully supported this oops concept. OOPs, let c with real time examples. Six important factors are using this concept are,

  1. Class, 2.Objects, 3.Abstractions, 4.Encapsulation, 5.Polymorphism, and 6.Inheritance.

1. Car Vs Class

Car: Collection of several properties like staring, break, clutch, etc each things are used for particular purpose, all these properties are differ from each car like some car have power staring ,however we have called it's a car.

Class: it's a collection of functions and variables. The functions and variables are differing from each class. Each function is used for particular purpose however we have called it's a class

2. Car Key Vs Object

Car Key: key is used for run the car. So many dummy keys can use for run a car.

Object: Object is used for run the class or invokes the class. So many objects can create for a single class.

3. Birds Vs Abstractions

Birds: we invented flight based on the mechanism of Birds. So flight is derived form the base of birds.

Abstraction: Abstraction is a way to remove the association of the behavior of an object with the actual details Behind the Scenes which implement that object's behavior. This 'abstraction' is usually accomplished through the use of base classes with virtual functions; each derived function provides the details that implement the behavior behind that abstraction.

4. Pen Vs Encapsulation

Pen: Ink is the important component in pen but it is hiding by some other material

Encapsulation: is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse. One way to think about encapsulation is as a protective wrapper that prevents code and data from being arbitrarily accessed by other code defined outside the wrapper.

5. Crocodile Vs Polymorphism

Crocodile: live indifferently on land or in the water. In water it's Moment very fast compare to land. An animal lives in different character in different place.

Polymorphism: a single function or single operator has different character in different place.

6. Human heredity Vs Inheritance

Human heredity:

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the four basic principles of object oriented programming language?

The four basic principles of OOPs are 1...class and object..2...Encapsulations(Data hiding)..3...Inheritance..4...Polymorphism...


What are basic principles of economics?

What are the principles of economics


What is Institute in Basic Life Principles's population?

Institute in Basic Life Principles's population is 200.


What are the basic data processing principles?

There are three basic principles of data processing. These are ETL that is extraction, transformations and loading.


Is oops concepts are used in wordpress?

No, not really if you need a basic website.


The _____ outlined in the Constitution have been the foundation of the government of the United States for over 200 years.?

Basic principles


What are the basic principles of incentive scheme for the labor?

what are the basic principales of incentives


What are the basic principles of life insurance?

There are, in fact, a wide variety of "basic" principles of life insurance. Some of these principles include risk management, risk pooling, and human life value.


What are the basic principles of management?

The basic priniciples of Management are :PlanningOrganizingLeadingControllingThe basic priniciples of Management are :PlanningOrganizingLeadingControlling


What is difference java and visual basic programming?

java is a server side programing where as visual basic is a client side programing(This programing Language is different from oops)


What are the basic principles of federalism?

The basic principles of federalism can be found in the U.S. Constitution. These principles include popular sovereignty, separation of powers, limited government, a checks and balances system, and judicial review.


What are the basic principles of finance?

The management of money.