0
is java pure object oriented??
11 Antworten
+ 2
no java is partially object oriented
+ 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++.
+ 2
no. bcz java use primitive data type
+ 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
+ 1
yes
0
yes it is pure object oriented....
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.
0
Java is almost purely OOL,what is missing therefore, in Java everything treated as object except that we do have primitive data type
- 1
no but we can write pure object oriented program using wrapper class
- 1
thx
- 2
100% OOP, if you say no then give me an example of a java program in which there's no class.