+ 1
Guys which language is easier c++ or java?
8 Respuestas
+ 7
The most profound proof is that Java hides pointers and use them internally making the work of a programmer lot easier.No operator overloading in Java is another benefit to the programmer, while Java internally has used operator overloading.Java is more readable. If you are given a large codebase, then you’ll find it easy to understand Java more easily compared to C++.Java has automatic memory management whereas in C++ you yourself has to clear the garbage. It is a great advantage and avoid one of the biggest problem called as memory leaks !
But if you start with C++ and play with it for a year and then you shift to Java then you can use and understand Java more deeply.
With that said, the widespread success of Java is in part due to Hot-Spot, Sun's implementation of the Java Virtual Machine. Hot-Spot supports just-in-time compilation and optimization and is a beautifully engineered piece of software. It's written in C++.
+ 4
Java
+ 4
java is easier
+ 3
Java
+ 3
They are equally important and challenging, it depends what you want to be doing. You should in my opinion start with C++ and then start Java too. Believe me a real programmer needs them both and will get the C# and Javascript on the fly too.
Remember though, buy a good book on the topic of beginner in those languages because you are going to need them as reference guide. They are easier to use and you can go flipping back and forward faster and easier if you need some on topic extra info.
+ 2
Complex parts of code like input etc are much easier in C++ cause you don't have to create classes and objects.
+ 1
if u r beginner then learn oops concepts first and learn what is the feature supported by java and c++.
0
thanks guys