Computer Science, asked by nandoleSubsanan, 1 year ago

why pointers are not 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