0

how Java is Safe ? concept behind Pointer?

Java uses thread .....not pointer....That made it Safe....??? please Describe in detail

31st Mar 2017, 3:03 PM
Shreyance Gupta
Shreyance Gupta - avatar
1 Odpowiedź
+ 11
I think you mixing up something... Pointers are references to objects that are stored in the heap. Java uses pointers, but hides them (so you don't need to handle them explicitly). Threads are used to run parallel operations.
31st Mar 2017, 4:23 PM
Tashi N
Tashi N - avatar