C++ vs java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C++ vs java

c++ or java?

2nd May 2018, 3:05 PM
Dachi Apkhazava
7 Answers
+ 2
Java is safer C++ is faster and more powerful Both are highly portable Java is easier Java is in more demand C++ is in high demand too and used in higher end apps C++ is older Both have similar syntax C++ has better generics C++ has pointer stuff, Java doesn't C++ is main language for high end games and apps like AAA games and performance critical software like browsers, OS, phone switches, etc Both are general purpose Both are OOP C++ has more paradigms, more flexible C++ more powerful = more deadly
2nd May 2018, 9:33 PM
Maxwell Anderson
Maxwell Anderson - avatar
+ 1
Both are good. I prefer Java because I'm more comfortable with the syntax.
2nd May 2018, 3:10 PM
Aaron Stone
Aaron Stone - avatar
+ 1
i like c++ i am learning c++ but i like java too c++ is more confortable
2nd May 2018, 3:12 PM
Dachi Apkhazava
+ 1
Yeah whatever suits you. You just need to master one language. Learning all the languages is unnecessary
2nd May 2018, 3:18 PM
Aaron Stone
Aaron Stone - avatar
+ 1
yes thanks for comments
2nd May 2018, 3:19 PM
Dachi Apkhazava
+ 1
Welcome
2nd May 2018, 3:20 PM
Aaron Stone
Aaron Stone - avatar
0
Let us see how Java differs from C++ Java is a genuine object oriented language, while C++ is essentially with object oriented extension. That is the thing that precisely the increment operator ++ demonstrates. C++ has kept up in reverse compatibility with C. It is in this way conceivable to compose an old style C program and run it effectively under C++. Java gives off an impression of being like C++ when we consider just the “extension” some portion of C++. Be that as it may, some object oriented features of C++ make the C++ code to a great degree hard to take after and keep up. You can see the difference in detail here:- http://crbtech.in/Java-Training/java-vs-c-detailed-comparison/
3rd May 2018, 6:49 AM
pranit patil
pranit patil - avatar