Computer Science, asked by hellSadhuri, 1 year ago

Why pointers are not used in java

Answers

Answered by sairockzz
0
Given that structures are gone, and arrays and strings are objects, the need forpointers to these constructs goes away. Thus, Java has no pointer data types. ... For example, variables for objects are references, when you pass a variable for an object you are passing a reference which is sort of a pointer.
Similar questions