Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Modifying the method to clear collection HELPPP!

    Write a small test program that uses a Collection. Add some objects to the Collection, print it to see what is in it, then call the clear() method and print it again to see if it is empty.

    Also...
  2. [SOLVED] Re: Modifying the method to clear collection HELPPP!

    The Collection interface has a clear() method. Can that do what you want?
  3. [SOLVED] Re: Modifying the method to clear collection HELPPP!

    Can you post the code you are having problems with? What are the variable definitions for the collection and object?
    If a Collection is cleared, there won't be anything to delete.


    Please edit...
Results 1 to 3 of 3