answersLogoWhite

0


Best Answer

Object oriented programming doesn't strictly require an object-oriented programming language (although those are generally best suited for the job).

Object orientation, as a concept, means to create logical representations of physical or conceptual items: a vehicle, a person, a manager, etc. Each object type (commonly called a class) has a bundle of attributes (data items, properties) and verbs (methods, functions). These bundles, together, form the class.

It is thus possible to create constructs very close to modern classes as those known in C++ using structures in C. In fact, the first C++ compilers (~20 years ago) translated C++ into C, then used an existing C compiler to generate executable code.

In C, a structure can

  • contain variables (data members)
  • pointers to functions (member functions)
  • pointers to pointers of functions (virtual functions)

Among the many standard object-oriented techniques which can not be modeled in C are

  • privacy through visibility keywords (public, private, protected)
  • inheritance (but a "derived" class can embed the "superclass" for a similar effect)
  • polymorphism
  • contracts (interfaces)
  • operator overloading

That said, object orientation as a design concept does not require an object oriented language.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you map the object oriented concept using non object oriented languages?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What do you mean by object oriented language?

An object oriented language uses concepts of classes, objects, and methods. Rather than just having plain functions to store procedural instructions, a program written in an object-oriented language like Java has classes that are basically blueprints to create objects. Objects have their own little functions called methods. Objects can have their own variables too. Of course, there are much more complex concepts in object-oriented programming such as inheritance and polymorphism.


What is full form of abbrevation OOAD?

Object Oriented Analysis & Design


List of not object-oriented programming languages?

Languages like C, Pascal, Basic do not use classes, polymorphism, etc, they promote functional style of programming. Languages like PHP, Perl, Python, Ruby provide you with the opportunity to choose whether you like to program using classes, in other words in the object-oriented way, or adhere to functional programming - depending on what is optimal for the project you are working on.


What is object oriented programming and visual basic.net?

Yes, Visual basic uses Objects. I.E. buttons, options buttons, forms, text boxes, these are all objects in VB. VB also allows the creation and use of COM classes. Visual basic is partially OOP as it does not support implementation inheritance, which is usually a feature of an object-oriented language.


List advantages of Object Oriented Pascal programming language?

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.

Related questions

What do you mean by object oriented language?

An object oriented language uses concepts of classes, objects, and methods. Rather than just having plain functions to store procedural instructions, a program written in an object-oriented language like Java has classes that are basically blueprints to create objects. Objects have their own little functions called methods. Objects can have their own variables too. Of course, there are much more complex concepts in object-oriented programming such as inheritance and polymorphism.


What is full form of abbrevation OOAD?

Object Oriented Analysis & Design


List of not object-oriented programming languages?

Languages like C, Pascal, Basic do not use classes, polymorphism, etc, they promote functional style of programming. Languages like PHP, Perl, Python, Ruby provide you with the opportunity to choose whether you like to program using classes, in other words in the object-oriented way, or adhere to functional programming - depending on what is optimal for the project you are working on.


What is need of object in object oriented programming?

Object is an instant of the class, by using an object we can members of the class.


What is object oriented programming and visual basic.net?

Yes, Visual basic uses Objects. I.E. buttons, options buttons, forms, text boxes, these are all objects in VB. VB also allows the creation and use of COM classes. Visual basic is partially OOP as it does not support implementation inheritance, which is usually a feature of an object-oriented language.


List advantages of Object Oriented Pascal programming language?

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.


Is java script an object oriented programming language or an object based programming language?

That depends on who you ask. An Object Oriented Programming Language is one that allows or encourages, to some degree, object-oriented programming techniques such as encapsulation, inheritance, modularity, and polymorphism. -http://en.wikipedia.org/wiki/Object-oriented_programming_language * Encapsulation - or "information hiding" is the principal of hiding design decisions which are most likely to change thus protecting other parts of the programfrom change if the design decision is changed. * Inheritance - is a way to form new (derived) classes of objects from pre-existing (base) classes of objects. * Modularity - Allows for developing software which is composed of separate parts * Polymorphism - Allows for values of different data types to be handled using a uniform interface (e.g. num + num = num, string + sting = string, list + list = list, etc)JavaScript is a prototype based object oriented programming language, as opposed to other languages (such as Ruby) which are class based object oriented programming languagesPrototype-based programming is a style of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is performed via a process of cloning existing objects that serve as prototypes. This model can also be known as class-less, prototype-oriented or instance-based programming.http://en.wikipedia.org/wiki/Prototype-based_programming


What is the difference between traditional and object orientation?

A traditional approach, also known as structured system development, includes many variations which aim to develop information using structured and modular programming. On the other hand, an object oriented approach looks at the information system as a collection of objects that work together to accomplish a task.


Is structured programming an OOP principle?

No. Structured programming came before object-oriented programming. Most OOP languages make use of structured programming, but only because they were already using structured principals, not because they now use OOP principals.


What has the author Jaime Nino written?

Jaime Nino has written: 'Introduction to Programming and OOD Java' 'An introduction to programming and object-oriented design using JAVA' -- subject(s): Java (Computer program language), Object-oriented programming (Computer science) 'Introduction to Programming and OOD Using Java'


What has the author Goran Svenk written?

Goran Svenk has written: 'Object-Oriented Programming Using C++ for Engineering and Technology'


Is it true that the only way to transfer control from one place in the program to another in OOP is by using goto statement?

No. That is only true in procedural languages. Although it is permitted to use goto statements in structured and object oriented languages, its usage is limited to local scope only, which reduces the "spaghetti code" that was prevalent in all procedural languages, and still is in low-level assembler and machine code.