Cpp is easy than java?
Answers
Answer:
C++ programmers will tell you that converting to a Java project is easy for them since style and syntax are very similar. Even with the similarities, however, the two languages are worlds apart. Java is an interpreted language—”write once, run anywhere”—while C++ is a compiled language.
Answer:
Java is the simplified form of C++.
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++.
So C++ is very essential and is complex. It takes a long time to use it according to your needs