public class EntryAdd
{
private String[] name = new String[100];
private String[] address = new String[100];
private String[] phone = new String[100];
private String[] email = new String[100];
private static int entryCount;
private static int index;
private static int entry;
private static int entry1;
public static int getEntryCount()
{
return entryCount;
}
public String getName(int index)
{
return name[index];
}
public String getAddress(int index)
{
return address[index];
}
public String getPhone(int index)
{
return phone[index];
}
public String getEmail(int index)
{
return email[index];
}
public void setEntry(String name, String address, String phone, String email, int index)
{
this.name[index] = name;
this.address[index] = address;
this.phone[index] = phone;
this.email[index] = email;
}
}
Tidak ada komentar:
Posting Komentar