?
Solved

Object oriented programming and object based programming

Posted on 2000-03-12
7
Medium Priority
?
294 Views
Last Modified: 2010-04-02
What is the difference between the object oriented programming and object based programming?
0
Comment
Question by:maheshhatolkar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 2609336
Nothing.
0
 
LVL 32

Expert Comment

by:jhance
ID: 2609374
I'd say in general they are two terms for the same thing.  Depending on the circumstances, however, there may be a slight difference:

Object Oriented Programming in my mind is like C++.  C++ is a object oriented language but it is entirely possible to write C++ code that has objects or no objects.  In other words, objects are not required to use the language.  Now I know some purist will say that C++ makes ALL language elements (like int, char, float, etc) objects but this is really thin.

Object Based is more rigorous.  Take Java.  It's impossible to write a Java program without using objects.  Everything is an object.  Another example is COM programming.  In COM, you deal with objects, and hooking them together.

Just my opinion, your results may vary...
0
 
LVL 22

Expert Comment

by:nietod
ID: 2609420
But the term "Object Oriented Programming" is used to describe programming in languages like Java where you must use objects.  While logical, I really don't think that is a recognized difference between the two terms.  The most significant difference is their spellings.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:Wyn
ID: 2609713
->the object oriented programming and object based programming?
===========================
I do not know.

0
 
LVL 5

Expert Comment

by:yonat
ID: 2610878
Some people refer to languages that support objects but not inheritence as "object based".
0
 
LVL 2

Accepted Solution

by:
gurpreets earned 150 total points
ID: 2611168
I object based programming, you can just use the classes which have been defined in the language. You can define / declare your own classes. For eg., Java script.

In object oriented programming you can use the language defined classes and you can declare / define your own classes also. For eg., C++ , Java.

0
 
LVL 5

Expert Comment

by:mbormann
ID: 2611841
I think that yonat is right ,in that
You can't use inheritance in Object based languages.

gurpreets,
Probably meant to say
>>>I object based programming, you can just use the classes which have been defined in the language. You can define / declare your own classes. For eg., Java script.

In object based programming, you can just use the classes which have been defined in the language. You CAN'T define / declare your own classes. For eg., Java script.

I do think that older versions of VB were OB now newer versions are OO.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question