public class CustomerList
{
public Customer[] customers;
public Video[] videos;
.
.
.
.
customers = new Customer[100];
videos = new video[100];
.
.
.
.
videos[index] = new Video(title);
ok. my friend made this program (and it works too good) and i am not as smart as him..
my first question is... Customer[100].. it should mean that there's another class called Customer?
since its not String[] or int[] ...
2nd is.. if it does require another class called it, how should i write that seperate class?
so far i have..
public class Video
{
private Video[] video;
public Video(int amt)
{
video = new Video[amt];
}
well, something lyk that. not sure how to do yet.

New Topic/Question
Reply




MultiQuote




|