Solved

Object oriented programming and object based programming

Posted on 2000-03-12
7
287 Views
Last Modified: 2010-04-02
What is the difference between the object oriented programming and object based programming?
0
Comment
Question by:maheshhatolkar
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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 50 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now