why pointers are not 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
Science,
8 months ago
Hindi,
8 months ago
Computer Science,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago