no. Java has no pointers as such.
Everything that's not a primitive is a reference.
While these act in some ways similarly to C++ pointers, they're more like C++ references.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
1) it's reference, not refference
2) you don't need pointers to work with filesystems
3) JVMs don't have to be written in C++ or C
4) C/C++ doesn't exist
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Edward thinks wrong... :D
If you can't even correctly define your problem domain how are you ever going to figure out a correct solution?
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
nope, it's some kids' idea that C and C++ are actually one and the same language.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
C/C++ would be C divided by C++ using integer division.
It would yield nothing, as C++ is (based on) a superset of C, therefore the floating point result (intermediate, to be truncated) will be less than 1.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Do pointers used in java?
If you read previous post you would have seen this answer
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902