+ 2
Why java is the best than c++
13 Answers
+ 8
"Best" is a relative, subjective term. However, Java is more popular because of the platforms / cross-platform that it targets. If you can reach more people, you have more people behind you.
Regardless of language, the skill/logic/usefulness is coming from YOU. With most languages, you can translate your logic through it, so it'll always be up to how YOU used the language, not that the language itself was better. At least in comparing Java and any of the other major languages.
For example, which is better... English or Spanish? Neither. It simply depends upon how you use either language to convey what you're trying to say.
+ 3
@Sreejith I disagree. I could say the exact same thing in reverse and it'd be true: You should always learn Java before C++, as you can understand the concept of class better.
C++ isn't a precursor to learning ANY other language, and far from necessary. Classes are explained clearly in each of the languages, and each language has many examples/explanations/etc... However, you mistake practice of concepts are being directly related to the language itself. If you learned Java and spent time practicing classes, then you'll understand how classes in most languages work. It was the practice that made you better with classes, not the language.
+ 3
@Sreejith Subhash I understood the purpose of c++ pointers from learning how java handles function arguments.
+ 3
Seems like C# is closer to Java than C++.
Especialy because they code for Java and C# need to be in a class.
+ 2
Who told you that?
+ 2
@AM
How do you know C# is made from C++ and not just C?
+ 1
I tried java course but it was not as helpful as c++ in understanding classes
+ 1
I never knew system.out.println was a function until l learned the concept in c++
0
c is the root of this:
c --> java --> kotlin
c --> c++ --> c#
0
Depends on circumstances and application.
0
it would prefer to start with c++ before java because c++ is the building block of java and python
0
it would prefer to start with c++ before java because c++ is the building block of java and python
- 3
it will be always better to learn c++ before java as you can understand the concept of class better