+ 3

Is java a pure OOP ?

java follows all the OOP concepts. Is it true that java is pure OOP ?

12th Jun 2017, 9:56 PM
Himanshu Sharma
Himanshu Sharma - avatar
7 Réponses
+ 9
Yea... Java is strictly an "object-oriented paradigm" programing language. But, more than OOP, Java is "multi-paradigm", as it supports imperative, functional, and concurrent paradigms also. ^-^
12th Jun 2017, 10:08 PM
Femyk
Femyk - avatar
+ 8
I think pure OOP means that everything is an object. But Java has primitive data types like int, double, float, etc. that are not objects. So I would say no, Java is not pure OOP
12th Jun 2017, 10:12 PM
Eligijus Silkartas
Eligijus Silkartas - avatar
+ 8
Java uses Primitive datatypes which are not objects and to be a pure OOP everything must be in objects. so I don't think java is pure OOP.
12th Jun 2017, 10:13 PM
Himanshu Sharma
Himanshu Sharma - avatar
+ 3
of course !
12th Jun 2017, 10:04 PM
Junior Ngangeli Mbo
Junior Ngangeli Mbo - avatar
+ 3
@x86asm Java has wrapper classes. So we can use Integer, Float etc. instead of int, float etc.
12th Jun 2017, 10:18 PM
Himanshu Sharma
Himanshu Sharma - avatar
+ 2
Not according to some definitions but Smalltalk for example is.
28th Aug 2019, 7:40 AM
Sonic
Sonic - avatar
+ 1
Java uses primitive data types and hence is not a pure object oriented language.
28th Aug 2019, 9:31 AM
PRANTIK KUMAR PATRA
PRANTIK KUMAR PATRA - avatar