Buffer-overflow is a common computer security concern.
Write a simple program, in C, C++, and Java, to declare a simple one-dimensional array and then attempt to access an array element that is not within its bounds.
For example, what happens if I declare an array to be in studentNums[10] and then attempt to access studentNums[11], studentNums[12], or ..., studentNums[100]?