Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

is java is pure object oriented programming langauge?

0
Posted

is java is pure object oriented programming langauge?

0

Answer Sandeep, Java is not considered a pure object oriented language. In such a language, ALL data items are instances of object classes, and all operators and functions of any kind are methods of classes. In Java, there are object data types and non-object “primitive” data types like int and float and char. Also, there are operators which do not correspond to methods of any class, such as “+” and “<". With Java 1.5, Java got a little closer to being pure object oriented, because it allows primitive types to be treated as objects in many situations. (so-called autoboxing) Hope this helps...

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123