+ 5
Java or C++ which language is better and why
Java vs C++
9 Respuestas
+ 4
Like the others said, there isn't really a best programming language if you don't mention something you want to use it for. But here are my biggest differences:
Java is (IMO) way more beginner friendly. For example I searched on the internet with which language I should start as a complete beginner in coding. Most of the time they said Java because it's a very strong but relatively easy programming language. C++ is harder to learn because there are a lot of possible error sources (e. G. Arrays in C++ don't have a strict index restriction like Java. So you could say the index is higher than the length of the array and then you overwrite or access the next thing in the stack. And that's very dangerous for the program.) and for beginners complicated structures, like pointers.
Also, as most of the others already pointed out, Java works on many different OS, so for example for school, if you have a Mac at home where you program, you can just take your code, and run it in school on windows PC without problems.
+ 9
Java is somewhat more popular but better for what is the question.
+ 5
I use both of the languages and I'm finding Java more elegant. The main reason is it's portability. After that, each one is powerful on their own working field!
+ 3
In my opinion Java is better case two most important reasons , which are : 1.java is a faster in execution and 2.java isplatform independed
+ 2
Where can u apply a c++program in career?
+ 1
Thanks Niklas for ur answer
+ 1
به نظر من هم اول باید فیلد کاریتون رومشخص کنید.
اگر دنبال درآمد بیشتر هستید به خاطر مقوله عرضه و تقاضا که جاوا کارها تعداد کمتری دارند قیمت بالاتری میگیرند.
اگر فقط مسئله علاقه ست باید بگم یادگیری سی پلاس پلاس راحتتره اما در عین حال زمان بیشتری میبره تا یادش بگیرید.