Arraylist.java is the actual implementation of the features of an arraylist, while TestArray.java is the code written to test the functionality. This code only works on objects.
Community driven content discussing all aspects of software development from DevOps to design patterns. Java developers have long desired the ability to quickly initialize contents of a List or Set.