View Single Post
Can anyone pls help me with Java, i'm not sure...
(#1 (permalink))
Old
glen r is Offline
Private
Points: 167, Level: 2 Points: 167, Level: 2 Points: 167, Level: 2
Activity: 0% Activity: 0% Activity: 0%
glen r is an unknown quantity at this point
 
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Dec 2007
Can anyone pls help me with Java, i'm not sure... - January 1st, 2008

...what i'm supposed to do here...?? We have to design a menu-based Java program called StaffContactManager.java to manage a list of at most 10 staff contact details.

This is what we have been given to work with so far, i think we just have to fill in the blanks at this part and come up with suitable variable names, but i'm not sure how to get this part to work, it has to be some sort of data entry array i believe :-

import java.io.*;
public class StaffContactManager
{
public static void main(String[] args) throws IOException
{
final int maxStaff = 10;
String [] /* ? */ = new String [maxStaff];
String [] /* ? */= new String [maxStaff];
String [] /* ? */= new String [maxStaff];
String [] /* ? */= new String [maxStaff];
int activeEntries = 0;



System.exit ( 0 );

}//main
}//StaffContactManager



Any help would be greatly appreciated.. thx

Revenue Shared Ads