is java pure object oriented?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

is java pure object oriented??

6th Jul 2016, 6:29 PM
Pradip Gangoda
Pradip Gangoda - avatar
11 Answers
+ 2
no java is partially object oriented
7th Jul 2016, 9:34 PM
Snigdha Pradhan
Snigdha Pradhan - avatar
+ 2
Yes java is purely oop language because everything in Java is based on object, class, polymorphism, inheritance, and many more. Second, Every Java program has atleast one Class and method . Third, Java supports automatic memory management which is manual in other language like C , C++.
9th Jul 2016, 3:34 AM
Vinod Luhar
+ 2
no. bcz java use primitive data type
17th Jul 2016, 5:13 AM
lalit jadaun
lalit jadaun - avatar
+ 1
what is the definition of pure Object oriented language ? Comparing Java and C++, yes Java requires class in order to run a program. While C++ gives you freedom to use procedural programming approach or object oriented approach
6th Jul 2016, 7:16 PM
thinal lee
thinal lee - avatar
+ 1
yes
2nd Sep 2016, 11:19 AM
PIYUS
PIYUS - avatar
0
yes it is pure object oriented....
9th Jul 2016, 9:57 AM
Ashhar Mohd
Ashhar Mohd - avatar
0
it's always a point of discussion for community. some says it's purely oop and some says it's partially oop. I don't know the exact ans. but people believe it's partially because of its static main method and addition of static nature. oops mainly concerned to objects Always but it's main method is static it's part of the object, but it can still accesses by without creating a object. I'm not saying that it violates the rule of OOP, (it's security issue.). but here is the point that the program start with a procedure not with an object that's why people believe it's partially OOP. n as I think a program's starting point must be known to OS, without it we can't execute it. so it must consider as purely OOP.
24th Jul 2016, 4:44 AM
jayesh malviya
jayesh malviya - avatar
0
Java is almost purely OOL,what is missing therefore, in Java everything treated as object except that we do have primitive data type
20th Oct 2016, 5:03 PM
Vignesh R
- 1
no but we can write pure object oriented program using wrapper class
7th Jul 2016, 4:07 PM
Ved Prakash Dubey
Ved Prakash Dubey - avatar
- 1
thx
7th Jul 2016, 4:47 PM
Pradip Gangoda
Pradip Gangoda - avatar
- 2
100% OOP, if you say no then give me an example of a java program in which there's no class.
18th Jul 2016, 4:28 AM
Lhoussine El manoug
Lhoussine El manoug - avatar