What is the difference of C++, C# and Java with respect to object oriented programming? And which language do you prefer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference of C++, C# and Java with respect to object oriented programming? And which language do you prefer?

Is there maybe a general difference between these programming languages and what are the advantages or disadvantages of the 3 named? What are your applications? I am trying to get the basic concept of these 3, because I had some contact with them in the past.

4th Oct 2018, 5:13 AM
Henry
Henry - avatar
4 Answers
+ 1
C++ has no garbage collector, while others have. It means that you are responsible for memory management in your program.
4th Oct 2018, 7:27 AM
Sergey Ushakov
Sergey Ushakov - avatar
+ 1
C++ is a very powerful hybrid language that has features of both high level and low level programming. The strength of C++ is its speed, only matched by C. These languages are dozens times faster than, say Python and Ruby. C++ is a language that forces you do to everything yourself before the language can do its proper job. This is why C++ is used in graphics engine, physics engine, game engine, embedded softwares, drivers, operating systems, and many other performance dependant application. For this reason, it takes a long time to master the language and the learning curve is also steep. Lastly, C++ has full OOP features and more extensive than Java and C#. But most of time , you only need what you need to do your thing. So choose your language carefully. You dont have to use C++ to create websites or mobile apps, there are other languages more convenient to do those job
4th Oct 2018, 12:32 PM
Kuyondo
Kuyondo - avatar
0
Kuyondo Thanks for this elaborated answer. I can guess your favourite language now. I also mostly use C++ and I'm trying to make some progress on that. I just want to see other points of view on this topic!
4th Oct 2018, 12:37 PM
Henry
Henry - avatar
0
When I learn C++ up to intermediate level, Java, C# and Javascript becomes easier to understand. Theyre basically very similar. Only some syntax and keywords are different, but the structure is the same(maybe not so much for C# though). So I guess that if you are at least good in C++, Java and C# would be a piece of cake to learn..
4th Oct 2018, 12:42 PM
Kuyondo
Kuyondo - avatar