How many objects are eligible for Garbage collection in Java?

What is a good Variable to store a collection of Objects in Java?

  • A simple question. What is a good Variable to store a collection of Objects in Java IE. I have made a class to get stock information and now I want to make another object ...show more

  • Answer:

    Any class that implements the List interface: ArrayList, Vector, LinkedList, which has methods for adding and removing objects, is a good choice.

IUXWMC2JELZS6PSHKOZYLTWYDQ at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.