Hi guys,
I am stuck on a project. I am doing a HDIP that is unrelated to my undergraduate degree. One of my modules is java which i'm trying to get my head round. The lecturer is unhelpful and keeps giving us really hard assignments.
My latest assignment is create a
film class
name:string
code:string
film (string)
setName(string)
getName(string)
getCode(String)
Actor class
name: string
address: string
age: int
myFilm:arraylis t
Actor(string,st ring,int)
setName(string)
getName:(string )
setAddress(stri ng)
setAge(int)
setfilm(arrayli st)
getAddress(stri ng)
I also have to creat a main class(console application). Using the classes specified I have to create an arraylist to hold many actors that can have many films. The main method is only to use one film arraylist for all actors. The actors also have to have their on collection of films deep copy.
I'm sorry for the long winded description however, I have never programmed java before and i feel slightly lost. The lecturer has given me a week to do it? I could do with some help to point me in the right direction.
Thanks for even reading my post I appreciate you taking the time to do so.
Thanks in advance,
Regards,
Desperate student with a bad lecturer!
I am stuck on a project. I am doing a HDIP that is unrelated to my undergraduate degree. One of my modules is java which i'm trying to get my head round. The lecturer is unhelpful and keeps giving us really hard assignments.
My latest assignment is create a
film class
name:string
code:string
film (string)
setName(string)
getName(string)
getCode(String)
Actor class
name: string
address: string
age: int
myFilm:arraylis t
Actor(string,st ring,int)
setName(string)
getName:(string )
setAddress(stri ng)
setAge(int)
setfilm(arrayli st)
getAddress(stri ng)
I also have to creat a main class(console application). Using the classes specified I have to create an arraylist to hold many actors that can have many films. The main method is only to use one film arraylist for all actors. The actors also have to have their on collection of films deep copy.
I'm sorry for the long winded description however, I have never programmed java before and i feel slightly lost. The lecturer has given me a week to do it? I could do with some help to point me in the right direction.
Thanks for even reading my post I appreciate you taking the time to do so.
Thanks in advance,
Regards,
Desperate student with a bad lecturer!
Comment