Which is better C++ or Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Which is better C++ or Java?

As in which language should be preferred ??

22nd Jul 2017, 8:29 AM
Shubham Kr Singh
Shubham Kr Singh - avatar
10 Answers
+ 6
both are great in their own ways.......... Some features are exclusive in Java and some in C++ some things can be done with ease in Java and some in C++......... its fully your choice
22nd Jul 2017, 8:38 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 7
@Chirag I know Neither of them but I do know the better language is the one which satisfies your specific requirement and does it well. it may be Java for you, someone else will say python etc. 😊
22nd Jul 2017, 11:21 AM
Lord Krishna
Lord Krishna - avatar
+ 7
both learn them both
22nd Jul 2017, 11:24 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 5
@Chirag does that mean one can stop using java and replace it with c++ or vice versa PS: your answer suggests you can use any of them as if they are interoperable. are they ?
22nd Jul 2017, 9:12 AM
Lord Krishna
Lord Krishna - avatar
+ 5
@chirag doesn't which language is better depends on what you want to do like for game development will you use Java instead of c++ ?
22nd Jul 2017, 10:43 AM
Lord Krishna
Lord Krishna - avatar
+ 5
@Abdur any specific reason you suggest to learn them both ?
22nd Jul 2017, 11:26 AM
Lord Krishna
Lord Krishna - avatar
+ 4
@krishna do you think James Gosling was flexible enough to make it so!!!!!! although you can use them together in android development....... besides a Java code and c++ code can communicate in some ways which i am not clear of https://stackoverflow.com/questions/29215215/interoperability-java-and-c
22nd Jul 2017, 10:39 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 4
@krishna I dont know c++ much.... sooo.......I'll surely use Java ....... may be after knowing c++ thoroughly I may use it😃😃😃
22nd Jul 2017, 11:18 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 2
@chirag , @abdul I am good with Java concepts , should I go for C++?
22nd Jul 2017, 12:31 PM
Shubham Kr Singh
Shubham Kr Singh - avatar
0
Java is a dying language. It is still strong, but falling down. C++ will be around for a long time
23rd Jul 2017, 9:54 AM
Denis Felipe
Denis Felipe - avatar