Pointer Java | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Pointer Java

Why there is no pointer in Java ?

3rd Sep 2022, 6:52 PM
Roland
Roland - avatar
2 Réponses
+ 4
They are hidden. Probably people mess up too often in C and C++. So, java uses references. Question is also, why do you want pointers?
3rd Sep 2022, 7:17 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 1
Must be a design choice. Handling pointers manually is a complex task. Java uses references which are nothing but pointers under the hood.
4th Sep 2022, 10:22 AM
Avinesh
Avinesh - avatar