Is java pure oop?? Or not? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is java pure oop?? Or not?

10th Jun 2017, 3:25 AM
Anjaneyulu Bairi
8 Answers
+ 2
java contain primitive types then also it is pure oop?? but java contain objects for primitive types
10th Jun 2017, 3:48 AM
Anjaneyulu Bairi
+ 1
yes java is pure opp,because without creating class you can not compile a program
10th Jun 2017, 3:33 AM
Rohan Vijayvergiya
Rohan Vijayvergiya - avatar
+ 1
Java 8 is never considered 100% or pure object-oriented programming language. If it were, all its primitives would be objects. Read more: http://www.java67.com/2014/03/is-java-pure-object-oriented-programming-language.html#ixzz4jZEnfK6A
10th Jun 2017, 3:41 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
wrapper classes
10th Jun 2017, 4:08 AM
Anjaneyulu Bairi
+ 1
Java is Pure OO Nothing can exist outside a class. No program even main () cannot be created without a class.
10th Jun 2017, 8:44 AM
Sandeep Sood
Sandeep Sood - avatar
0
what objects??
10th Jun 2017, 3:56 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
ya those are different from the primitive data types.. and those are wrapper classes.. you can create object of it and use it..
10th Jun 2017, 4:10 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
No, java's not pure OOP as it uses primitive data-types. But wrapper classes can be used for good practice.
10th Jun 2017, 7:36 AM
Ayush
Ayush - avatar