You have to use array of Object to store the element and then provide the functionality of adding,seraching and removing the element.This is the way you can create your own arrayList without using Collections.:1. Make an array of Object holding some predefined number of objects.
Category:Java Interview Questions
No comments:
Post a Comment