Arraylist

i have assigment on arraylist and collections can any one help me on this implementing this scenario using arraylist

Task 1 ?

Class, Collections, Data and Control Structures, GUI, String

A library is interested in creating a literary guide which can store sets of individuals that appear in

various books. For example, some of the individuals which appear in Book A may be Adair,

Cohoon, Gibran and Scott.

Use the relevant features of Java Collections to implement a class which provides the following

operations:

?Add a book to literary guide.

?Remove a book from the literary guide.

?For a given book title, return the set of individuals who feature in the book.

?Add a new individual to the set of individuals in the book.

?Remove an individual from the set of individuals in a book.

?For a given book title, display a set of individuals featuring in that book

You may decide to explore the possibility of using the GUI feature of Java in this context.

[1046 byte] By [ManojKoooola] at [2007-11-27 3:57:25]
# 1
If you're going to be cheeky enough to ask total strangers to do your homework for you, the very least you could do is write the question out in your own words. If you're so lazy that you simply copy-and-paste the assignment into a forum and expect help, you're unlikely to get that
georgemca at 2007-7-12 9:01:45 > top of Java-index,Core,Core APIs...
# 2

I'm totaly new to java i have tried to do this using Array list

first i created Book Class .then My problem is define the literary guide using Arraylist within that Class as Property or variable. Is it possible Create Array list within an array list in java

Message was edited by:

ManojKooool

ManojKoooola at 2007-7-12 9:01:45 > top of Java-index,Core,Core APIs...
# 3
as as long as you retrieve as an arraylist object from arraylist, you can have arraylist of arraylists.thanks
geomana at 2007-7-12 9:01:45 > top of Java-index,Core,Core APIs...