Originally posted by dinesh Venkatesan:
Hi Ramalingam,
In my Perspective Java is a complete Object Oriented Language.
As you can see, Java also provides the Class version for the primitives.
e.g., Integer class for int, Double for double, so and so..
And from jdk 1.5 Java started to move towards your view much closer throught the "Autoboxing" concepts.
Hmm...so will the following code work?
Coming to the original question: Unfortunately there is no right answer for this, because nobody has defined what features a 'complete object oriented programming language' should support.
Java supports many object oriented features, but there are other languages that support more. For example, the following code is perfectly valid in Ruby
I would say, not to worry much about this.