C++ has pointer. We can access the data directly by using the pointer, directly access the memory location so in C++ security feature is less.
In java there is no concept of pointers so the java is...