I know that pointer is a variable that refers to a memory address and Java does not support pointers because unsafe and complexity problem. Then how come one can access memory addressing directly in Java? But still Java uses Memory locations and manipulation part. Can't we access memory addressing directly in Java and why does it have no security while accessing? In how many ways can one access the memory manipulation directly /indirectly in Java?
If I want to write a code based on Memory management concepts then how can I do it in Java?
What is the practical reason for avoiding not to access memory locations directly or indirectly in Java (Other than complexity or insecure have any other reason)? I have looked on google regarding this but I could not be able to find good answer.