why pointers are not there in java
Answers
Answered by
0
// It is a reference to the String object. ... In C++ pointers are basically reference to the memory of that variable. So here each declaration is reference in java which is equivalent to pointer in c++, but internally handled by JVM not by programmer.
Similar questions
English,
8 months ago
Social Sciences,
8 months ago
Math,
8 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago
Math,
1 year ago