Hello friends kindly help me,

Which is purely object oriented language Java or c++?


If it is java why it is? how it is?

If it is c++ why it is? how it is?


Kindly help me...........

eman 22 commented: Home Work Question and That's illegel +0

Recommended Answers

All 8 Replies

Neither. The only language that could be called "purely" OO (although there is no "official" definition of the term) is SmallTalk.

why exactly do you need to know?

... and how did your exam go? :)

Java is generally agreed to be purely OO since we can only work with objects in java, the is, instantiating classes.While c++ is partly OO, since u can write code without using or instanciating classes

First, there is no "official" (perceive that as IEEE) definition of "pure" OO. Yes, generally Java is definately OO. It definately does not, however adhere to even the "generally accepted" definition "Pure" OO, however. It's kind of hard to do that when you can use primitives.

True as it may be that there is no official defn. for pure OO, java is certainly not a structured language, you just can't write a structured programme using java, like you can do in C and C++ (which is both structured and OO). Since java in not structured, i guess it is safe to conclude that it is OO.

As I said, it is "generally" OO, but it doesn't even come close to the "common sense" interpretation of "pure" OO. Again, hard to do that with primitives.

Thanks to everyone for resolving my problem..........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.