+ 2

I want to learn about memory' management in languages as java and c++. What should i prefer?

1st May 2017, 2:52 AM
Chaman Raghav
Chaman Raghav - avatar
5 Réponses
+ 4
In Java you have garbage collector which do all memory management automatically. In C++ things are much more complicated, you should watch memory usage and free it from unused objects manually. So for a beginner Java is more preferable.
1st May 2017, 3:01 AM
Jeth
Jeth - avatar
+ 1
so is Java is much more easier than c++
1st May 2017, 8:02 PM
Chaman Raghav
Chaman Raghav - avatar
+ 1
and what should I choose from PHP and JavaScript
2nd May 2017, 6:52 PM
Chaman Raghav
Chaman Raghav - avatar
0
For me learning Java was easier than learning C++.
2nd May 2017, 3:12 AM
Jeth
Jeth - avatar
0
PHP is language for back-end and JS is for front-end (also there is Node.js framework for back-end but this is not for a beginners) so learn that language with which sphere you want to work to.
2nd May 2017, 8:30 PM
Jeth
Jeth - avatar