Why pointers are not used in java
Answers
Answered by
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
English,
8 months ago
Social Sciences,
8 months ago
Computer Science,
1 year ago
Math,
1 year ago
Biology,
1 year ago
Math,
1 year ago