answersLogoWhite

0


Best Answer

Advantages of OOP Object-Oriented Programming has the following advantages over conventional approaches: * OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface. * OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones. * OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. This is particularly useful for developing graphical user interfaces. Concepts of OOP: * Objects * Classes * Data Abstraction and Encapsulation * Inheritance * Polymorphism Objects Objects are the basic run-time entities in an object-oriented system. Programming problem is analyzed in terms of objects and nature of communication between them. When a program is executed, objects interact with each other by sending messages. Different objects can also interact with each other without knowing the details of their data or code. Classes A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class. Data Abstraction and Encapsulation Abstraction refers to the act of representing essential features without including the background details or explanations. Classes use the concept of abstraction and are defined as a list of abstract attributes. Storing data and functions in a single unit (class) is encapsulation. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it. Inheritance Inheritance is the process by which objects can acquire the properties of objects of other class. In OOP, inheritance provides reusability, like, adding additional features to an existing class without modifying it. This is achieved by deriving a new class from the existing one. The new class will have combined features of both the classes. Polymorphism Polymorphism means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends on the data types used in the operation. Polymorphism is extensively used in implementing Inheritance.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the advantage of oops language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Disadvantages of Java?

Advantage:1.) Java program are platform independent, it can run on any PC or any operation system.2.) It is dynamic, simple and robust.3.) It is purely OOPS language having all the OOPS concept.Disadvantage:1.) It takes more time to execute then " C language" as it runs first on JVM (Java Virtual Machine).2.) More memory consuming then other languages.


Is Java a top-down or bottom-up approach?

It is a programming language. s of course its a programming language with bottom up approach for programming. because it follows oops concepts


What is difference between c and oops?

C is a programming language, oops is what you say when you realize you were wrong in something. Note: Some programming languages are known as object-orient languages, C is not one of them, but some derivatives of it (C++, C#, Java) are.


What is a synonymm for oops?

OOPS refers to Object Oriented Programming Structure. Some common terms used in oops are # Inheritance # Polymorphism # Encapsulation # Data hiding etc..


What you mean by pure oops language?

An OOP language is an object oriented programming language. The plural is therefore OOP languages, not oops language. A pure OOP language is one that does not have the concept of a primitive data type. That is, a data type that has no member methods whatsoever. In pure OOP languages, all primitive data types (pointers, characters, integers, floating point and array types) are implemented as objects that are associated with a default constructor, copy and move constructors, conversion constructors, copy and move assignment operators, type conversion operators and a destructor, all of which are members of the object's class.

Related questions

Can you use C as OOPS?

No, it is a programming language.


Is 'c' is a oops language?

If you meant 'C++' then yes; otherwise no.


Why object oriented programming language is called oops?

It isn't called oops, it's called OOP. It's an acronym for Object Oriented Programming.


What type of language is delphi whether it is a oops or procedural?

its not a oops concept, its a procedural concept in data structure as well as data ananlysis n algorthim


Does java support oops concept?

Yes. Java is an Object Oriented Programming Language and it supports the OOPS concepts like Inheritance, Polymorphism etc


Why c language is called mid level language justify with an exampal?

because it dont not support oops concept


Disadvantages of Java?

Advantage:1.) Java program are platform independent, it can run on any PC or any operation system.2.) It is dynamic, simple and robust.3.) It is purely OOPS language having all the OOPS concept.Disadvantage:1.) It takes more time to execute then " C language" as it runs first on JVM (Java Virtual Machine).2.) More memory consuming then other languages.


What is the difference between program language and procedural language?

programming language is of two type 1. procedural programming language 2.non procrdural programming language .. ----non procedural programming language means that which relates with the real world.. for example-oops oops is a non procedural programming language because it relates to the object and object relate to the natural or real world where as that languge which does not belong to the real world is known as procedural language


Why to go with oops than C programming?

just because of two reasons security& complexity ofcourse oops got so many extrordinary features than a structured language


Is cpp complete oops?

No, C++ is not a strict OOP language as like Java and C#. C++ supports all OOPS concept like Encapsulation, Polymorphism, Inheritance etc. But C++ provides a way to expose the private data to outside world using friend functions, which is a violation of OOPS.


What is the advantage of text language?

the advantage is that you write faster. and everyone understands it


Oops you will smile?

oops, i rather not.