Rayapudi Murali Krishna wrote:There are several factors that makes java applications/programs/code secure:
Ffor Example:
1. No Pointers --> means no explicit pointers are allowed in java programming
2. Exceptions --> exceptions avoids un-expected termination of a java program
3. Garbage Collection --> Avoids the programmes running out of memory
4. Compiled and Interpreted
Why exactly is java secure because of these reasons ? In comparison, C++ uses pointers, and does not use garbage collection. So is C++ insecure ?
The OPs question is just too vague to be answered