0

Importance of C++ when comparing with Java?

I have learnt Java and recently I started to learn c++. Don't ask why! 😋. It seems that syntax of both of the languages are much similar. I can't understand why there are such pair of much similar languages. Why it that? What are the pros and cons of c++ when comparing with Java?

10th Jul 2017, 5:26 PM
Tharindu Sathischandra
Tharindu Sathischandra - avatar
1 Answer
0
Java was derived from the C language, that's why a lot of syntax has a familiarity to it. https://en.wikipedia.org/wiki/Java_(programming_language) "The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them." https://en.wikipedia.org/wiki/C%2B%2B Read their wiki pages for more information.
10th Jul 2017, 5:39 PM
AgentSmith