Java DOES have pointers!
Java has pointers. People who say that Java does not have pointers are lying. The most confusing point is that, pointers in Java are not called pointers, but called “references” instead. However, a reference is completely different from a pointer. Although Java…