Most of the pointer related manipulation is done implicitly by the JVM and only references are used by the program. This is in order to abstract the memory from the overall application program in order to keep it safe from corruption, insecure access, etc memory related problems.
Java does not support pointers like C or C++ because it is designed to be secure and simple. Instead of pointers, Java uses references to access objects. These references work like pointers but do not allow direct memory access. This helps prevent memory leaks, makes the code safer, and allows Java to handle memory management automatically using garbage collection.
No, Java does not support pointers like C or C++. Java manages memory automatically through its garbage collector, ensuring better security and stability. Instead of pointers, Java uses references to access objects, which prevents direct memory access and helps avoid common bugs such as memory leaks or pointer arithmetic errors.