answersLogoWhite

0


Best Answer

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

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago
Object oriented programming, unlike structural programming, gives importance to the object rather than the way a particular task is accomplished. The main features are:

1) Encapsulation - The related data members and their functions can be encapsulated into one unit - class.

2) Abstraction - Through the use of proper access specifier, the unnecessary implementation details can be hidden from the user, making it very user friendly.

3) Polymorphism - This involves the overloading concept

4) Inheritance - This enables to reuse the code.


Real-time example:


Consider a TV remote. When you press the up button, the channel changes. This occurs due to signal sent from the remote to the TV to which the TV responded. However all this implementation details are not presented to you. Here the concept of abstraction is shown. Similarly the buttons of similar functionality are grouped together. Here encapsulation can be shown.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

What does the rule mean. Simply OOP has major three principles. 1.Inheritance 2. Encapsulation 3.Polymorphism. The language which include these above mentioned three concepts is OOP. Like C++ and Java.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

OOP (Object Oriented Programming) is the implementation of OOD (Objected Oriented Design). OOD is a philosophy where the interface of an object (public methods) is well defined but limited to only what is necessary to use that object. Internal design, attributes, etc. are hidden from the public interface, and can be altered if necessary without requiring change to the public use of that object. OOD also provides inheritance, where you can derive a new object in terms of another, providing only the new portions of the implementation, expecting that the parent implementation does not require change. You also have polymorphism, where methods of the same name can have different implementations based on the type of its arguments. Extending this, you can have abstract methods, which are described in the parent, but implemented in the child. Further, with virtual methods, you can implement a method for each different derivation, but have the correct method execute based on the type of the object.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

OOPS is a object oriented programming language.

Features of OOPs is

encapsulation

inheritance

polymorphism

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The characteristics of OOPS are:

# Inheritance # Polymorphism # Data Abstraction # Encapsulation # Decoupling # Objects

# etc...

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Some of the features of OOP are:

  1. Encapsulation
  2. Polymorphism
  3. Inheritance
  4. etc
This answer is:
User Avatar

User Avatar

Wiki User

12y ago

OOP (Object Oriented Programming) is based on classes, where objects are instantiated.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the basic principles of oops?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


How would you describe the basic principles of belizes economy?

can u describe the basic principles of training of u're sfuff in catering


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

Basic principles


Is oops concepts are used in wordpress?

No, not really if you need a basic website.


What are the basic principles of neuro linguistic programming?

Neuro-linguistic programming (NLP) is based on several key principles, including the idea that our thoughts, language, and behaviors are interconnected and can be changed through specific techniques. It also emphasizes the importance of understanding and utilizing the different communication styles and patterns of individuals. Additionally, NLP focuses on setting clear goals, identifying and utilizing sensory perceptions, and fostering self-awareness to promote personal growth and change.


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 object of surveying explain the basic principles of surveying?

The main objects of surveying are to determine the relative positions of points on the Earth's surface and to measure distances, angles, and elevations accurately. The basic principles of surveying involve understanding and applying concepts like accuracy, precision, measurements of distances and angles, leveling, and use of surveying instruments to gather data for mapping and construction projects. It is essential to follow standardized procedures and techniques to ensure reliable and consistent results in surveying work.


What are the basic principles of management?

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