answersLogoWhite
Computer Programming
Java Programming
C Programming

Why is Java not a pure OOP Language?

109110111

Top Answer
User Avatar
Wiki User
2012-04-27 20:54:41
2012-04-27 20:54:41

Java is a OOP language and it is not a pure Object Based Programming Language.

Many languages are Object Oriented. There are seven qualities to be satisfied for a programming language to be pure Object Oriented. They are:

  1. Encapsulation/Data Hiding
  2. Inheritance
  3. Polymorphism
  4. Abstraction
  5. All predefined types are objects
  6. All operations are performed by sending messages to objects
  7. All user defined types are objects.

Java is not because it supports Primitive datatype such as int, byte, long... etc, to be used, which are not objects.

Contrast with a pure OOP language like Smalltalk, where there are no primitive types, and boolean, int and methods are all objects.

789

Related Questions

User Avatar

Java IS a pure OOP language. All types, including the built-in types, are implemented as objects.

User Avatar

Yes, java is a pure object oriented program because it derives its syntax from C and object oriented features from C++. Moreover its a platform independent language which means it can be run any where any time in any environment.Thus, it's appropriate to say java is a pure OOP.

User Avatar

C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.

User Avatar

beoz..all methods and variable are written only in class ...and main thing is main method is also written in class,,which is not written in c++ ..hence the java is fully pure oop language

User Avatar

that all values are objects essentially

User Avatar

There is no need for the OOP paradigm in Hindi. Hindi is a natural language whereas OOP applies to object-oriented programming (OOP) languages such as C++ and Java.

User Avatar

Java is an object-oriented programming (OOP) language, which basically means that you can do more with it than you can do with a language that is not object-oriented.

User Avatar

C++ is not a pure OOP language because it supports the concept of primitives, such as int, char and bool, as well as pointer variables. A pure OOP language has none of these: all so-called "primitives" are actually implemented as objects, each with associated member methods, such as int::AsString(). C++ primitives have no associated methods whatsoever.

User Avatar

Java is called Object Oriented Programming Language because in Java, you can implement all the Object Oriented methodologies (inheritance, multi-inheritance, polymorphism, encapsulation) and Programing paradigm in Java is also Object Oriented.

User Avatar

pure oop means ,no primitive types and boolean ,int and methods are all objects

User Avatar

C++ evolved from C and therefore supports the C primitive types such as bool, int and char. In order to be pure object oriented, like Java or C#, all names must be objects -- there can be no primitives.

User Avatar

An OOP language is an object oriented programming language. The plural is therefore OOP languages, not oops language. A pure OOP language is one that does not have the concept of a primitive data type. That is, a data type that has no member methods whatsoever. In pure OOP languages, all primitive data types (pointers, characters, integers, floating point and array types) are implemented as objects that are associated with a default constructor, copy and move constructors, conversion constructors, copy and move assignment operators, type conversion operators and a destructor, all of which are members of the object's class.

User Avatar

Java is called as OOP since it allows u to create an object of a particular type and then use that object for your further use

User Avatar

Java is actually not a pure object oriented programming language. See the related question below for the reasons why.

User Avatar

Beacuase Java's Concept is OOP object oriented programming and with grate feature include better then assembly lang.

User Avatar

since Java have primitive data types, I think its not pure OO

User Avatar

Java is Object Oriented Programming. Infact it is not a pure OO programming language.

User Avatar

OOP stands for Object Oriented Programming. Everything in Java is an Object. Any class you create extends the Object class by default thereby making everything in Java an object. Moreover, you can use features like Inheritance, Polymorphism, Encapsulation etc which are OOP concepts thereby making Java an Object Oriented Programming Language

User Avatar

No. Java is 100% OOP while C++ supports the concept of primitives (which it inherited from C). Thus C++ supports far more features than Java, but it does not support any more OOP features than Java. Note that there are only four primary OOP features: encapsulation, abstraction, inheritance and polymorphism. Anything beyond that is implementation-specific and outwith the scope of OOP.

User Avatar

C++ is based on C. C was not object oriented, therefore the language was not made to be object oriented and moreover C++ is not a "true OOP language". It is simply a non-OOP language with OOP functionality built onto it.

User Avatar

What does the rule mean. Simply OOP has major three principles. 1.Inheritance 2. Encapsulation 3.Polymorphism. The language which include these above mentioned three concepts is OOP. Like C++ and Java.

User Avatar

Java is renouned as one of the most classic OOP engines. OOP or object oriented programming reduces all functions to various tasks of objects. A heirarcy of classes of objects all inherit the knowledge and aptitude of class they "extend". Eventually, every object can be traced back to the class "Object". Java is known as a very common language, with a structure that can be a good starting point to jump to almost any language.

User Avatar

Object-oriented programming (OOP) is not a separate language, it is a programming principal. C++ is a programming language that supports OOP as well as procedural programming and is backwardly compatible with C, the main language from which it evolved. The OOP aspect constitutes the bulk of C++ to the extent that if you're programming in C++ then you're using OOP. If you were to actively avoid using OOP entirely then you'd be writing C-style, in which case you'd be better off using C itself since C has no OOP capability whatsoever. C++ is not 100% OOP like Java or C#, but that is not a weakness of the language. OOP is merely a programming tool and, like any other tool, you use it wherever it is appropriate to do so, just as you use C-style wherever appropriate. C++ is nothing if not flexible.

User Avatar

It is used mostly for applications on Windows computers and Android phones and smartphones.

User Avatar

Yes Java is pure object oriented language .


Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.