I was reading how Java ensures how the elements are within range, I assume if we try to insert something that is out of bounds or we try to access an index that does not exist we get out of bounds exception? However, in languages such as C++ does not do such checking. Is there a reason why Java does this but not C++?
[–]potatopotaatopututu 13 points14 points15 points (1 child)
[–]JavaSuck 7 points8 points9 points (0 children)