View Single Post
Old 09-18-2003, 03:53 AM   #10 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Quote:
quote:
--------------------------------------------------------------------------------
The most important reason is that Java doesn't have inherritance (thus it has no polymorphism!). This makes Java not OOP. But it does offer classes so it is OBD (and OBP).
--------------------------------------------------------------------------------
You are 100% wrong
I am
Java does support Inherritance. Java does not support Multiple Inherritance though (except for interfaces).
The fact that Java doesn't support Multiple Inherritance doesn't mean it isn't an OOP based language. It is .

Object Based Programming holds for programming languages like ADA and Modula 2, since they don't work with classes but ADT's.

Quote:
What on earth are you talking about ?
I was mixed up with the commonly used definition of what OOP is. No word about multiple inherritance. Classes, methods and something else but I forgot what it was, are the three commonly used criteria when talking about OO.

I appologise, it's been a while
__________________
Valmont is offline   Reply With Quote