Java Glossary : Object-Oriented

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : O words : Object-Oriented.

Object-Oriented
Nerdy term for "good". Object-oriented to Java programmers refers to the way you organise methods in classes that work on the current object. Java supports inheritance and polymorphism via shadowing, overriding and overloading. The big advantage of object-oriented programming is the way you can easily create variants of the usual behaviours without cloning code. This makes maintaining the code much easier since when you later want to change something, you need to change it in only one place, not in all the myriad clones.

Here is a an analogy you might use for non-programmers: Computer programs are like instruction manuals to tell the computer what to do. In traditional programs, there is one great book containing all the instructions. In OO programming, in the computer's virtual universe, there is an instruction book attached to every object that tells the computer what it can do with each object and how. All Dalmatians come with two instruction books, a care and feeding of Dalmatatians, and a generic care and feeding of Dogs. The Cocker Spaniels come with a specialised care and feeding of Cocker Spaniels book, and the exact same book on care and feeding of Dogs. The instructions in the specific books can override the general instructions or add to the general instructions in the Dog book.

For a language to be considered officially object-oriented it needs three features:

Learning More

book_coverObject-Oriented Methods: Principles and Practice
0-201-61913-X
Ian Graham
A heavyweight book with lots of math. Something you can keep coming back to as you hone your skill.
amazon.com Barnes and Noble
amazon.ca chapters
amazon.co.uk amazon.de


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 1390.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/objectoriented.html J:\mindprod\jgloss\objectoriented.html