0
Which is Pure and which is True object oriented programming language– C++ or Java?
Object oriented programming
8 Antworten
+ 1
Neither 😂
C++ and Java both have primitive data types, and C++ specifically has support for low-level and procedural programming
+ 1
@TechTro Not true... primitive types in Java aren't objects...
+ 1
Java is OOP, but it isn't PURE OOP
+ 1
c++ is not pure oop Java is pure oop
0
Because you can't code anything in Java without declaring classes and objects. Even the small "Hello World" declares a class: class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } } In C++ you can still use structured programming without classes to build applications (although it makes it harder to maintain or escalate compared to OO): #include using namespace std; int main () { cout << "Hello World!"; return 0; } C++ can be OO or structured, while Java requires objects all the time. Personally, if I was going to build anything in C++, I would do it using objects. Hope this helps.
0
Yup Gabe Rust, even java does not provide operator overloading and multiple Inheritance..
0
Most of the languages support multiple paradigms
0
Neither