Why java is secure?
Java has no concept of pointers. Hence java is secure. Java does not provide access to actual memory locations.
🔗Reference: stackoverflow.com
🔗Source: Java Interview Questions and Answers