68 AnswersNew Answer
For me, both languages have very strong points in different areas: C++ is very powerful, you can do practically anything with the language, and it's very used in the industry of programming. The strength of Java is its universality. Anything can run Java, and it's not necessary to "port" the code. If the program can run in PC, it can run in any device. Not because of this, one language is "better" than other. The best thing you can do is learning and trying by yourself both worlds, later, you can pick up the language that best suits you or you like the most.
may be this link will help you https://www.educba.com/c-plus-plus-vs-java/
this is common question i’ve already heard about it, but learning C++ before java means you have to excersice before going to gym
Why do you want to learn programming? I think your answer will be to make money. ...Then answer the following question: in which area? So, if this is: - an enterprise or a mobile => Java; - 3D/Games => C++.
You must not compare the languages because both have their own benifts. If you do so you have to compare Java and c#. Because c# is latest in c languages. If you still compare c++ and Java then following are the reasons to choose Java : 1)Memory management is good in Java since it has Garbage Collection and disposable function, In c++ you have to implicitly do this. 2)Java is platform independent. 3)other reasons are common and known to all. For hardware communication c++ is good. For web development Java is good.
this one will help you 👇👇 https://www.javatpoint.com/cpp-vs-java
Programming languages are not religion. Professionals choose language depending on the circumstances, don't depend only one of them. In IT world nothing is ideal bro.
I vote for java Reason: I like it But keep in mind cpp is also a powerful language.
c++ is more powerful than java. it can do anything java can and cannot do. but java is better at implementing certain tasks and a little easy compared to c++.
C++ first then Java, as C++ will be easier to learn, after it, learn java. Why? Java has many function, as it's a bit longer to write so it may confuse you.
If you need to ask, then Java. C++ gives you power to be great or terrible. You can optimise memory usage till the heat death of the universe but you can also miss a simple cleanup and cause some crazy bugs. Java puts the power of optimisation into the VM, which gets faster all the time using your same old code (matching and even beating C++ in many areas). Some clarifications based on others comments: - Neither Java or C++ are pure Object Oriented - Kotlin is not replacing Java - C++ is NOT "more powerful" than Java, just gives you more control Essentially if you want to learn all the concepts that modern languages are based on or need to squeeze performance out on a specific system, C++ is the correct choice. If you want to just get programming, it's Java. Like I said, if you need to ask, you're probably the latter.
Both of the languages have great qualities. I prefer C++ in most of my robotics programming.
C++ if you want to go more into game-developing(its used alot often). Java if you want to do more desktop/application programming(its not as great at games).