aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes OOP and Tech Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "OOP and Tech" Watch "OOP and Tech" New topic
Author

OOP and Tech

Zafar Ali
Ranch Hand

Joined: May 11, 2002
Posts: 64
What are the difference b/w objects technology and object-oriented Programming languages?


Zafar <br />***Your behaviour should affect.***
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
To show the difference between these terms it may be best to introduce a few more terms, and show how they relate.
"Object Technology" is an encompassing term for all systems and development strategies which use "objects". If a language, process or system allows assocated state and behaviour to be grouped together and treated as a single entity then it can be said to use "Object Technology".
"Object Based" programming languages are programming languages which use "Object Technology", but in some way treat objects differently to other data types. Examples might include Visual Basic and JavaScript which have objects, but you can't easily define new classes of object or inherit behaviour from other object types.
"Object Oriented" programming languages are programming languages which use "Object Technology" and in which Objects are the only data types. The programmer is free to create new types of object, typically by subclassing (Smalltalk etc.) or prototyping (Self etc.).
Note that Java, although often considered as an Object Oriented programming language, is not a pure implementation of the concept. In java there are some data types (int, boolean, char etc.) which are not objects and cannot be subclassed.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Frank Carver:
Note that Java, although often considered as an Object Oriented programming language, is not a pure implementation of the concept. In java there are some data types (int, boolean, char etc.) which are not objects and cannot be subclassed.

Also, in the most pure OO languages like Smalltalk, even concepts like classes and blocks are implemented as first class objects.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: OOP and Tech