+ 16
Why pointers are not used in java ?
5 Respuestas
+ 20
I risk to be hanged by all C, C++ fans here, but for me using pointers direct is a primitive way of handling memory references 😁 so we are better off without them by letting the compilers/ garbage collectors do the job for us...
+ 10
@Fethi No... but questions are asked again and again.
+ 2
Java doesn't give the programmer direct access to memory, therefore no pointers no malloc no free no realloc etc. This is done for safety reasons, it protects the programmer from tampering with things (in Java's mind at least) they shouldn't.
+ 1
@Tashi N you have got good memory.