This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
How to use inner classes.
Posted by Ali on March 06, 2001 at 3:55 PM
Hi Guys !! I am a beginning java dummy but I will make it soon How can I setup a Vector to set up a directory with will work just like Napster. each member of Vvector will have a username, ip address, and Requested song and a list of songs each person has. Ii set up something like this Ii wonder if it sis right way to do it. Object []tempUserSongs = new String[20]; Object [] record= new String[20]; for(int i=0;i { O record[i]=new String[4]; record[i]={tempUser,tempIPaddress,tempRequestedSong,tempUserSongs};
Replies:
|