I did the outline of program: There only needs to be an array in the main method
ID: 3534867 • Letter: I
Question
I did the outline of program:
There only needs to be an array in the main method according to my instructor.Â
public Film{
private String Name;
private string director;
private int year;
public film()
public void setName(String newName)
public String getName()
public void set director(string newDirector)
public String getDirector
public void set year (int year)
public int getYear
public string to string()
public boolean equals (object obj)
Foreign Film extends Film{
private string language
private string subtitle
private string translation
public void setLanguage(String newLanguage)
public string getLanguage
public void setSubtitle (String newSubtitle)
public string getSubtitleÂÂ
Public void setTranslation
public string getTranslation
public string toString
{
private string song
private string secondary language
public void setSong(string newSong)
public String getSong()
public void setSecondaryLanguage(string newSecondaryLanguage)
public String getSecondaryLanguage()
public String toString()
The development of this project must be done using object-oriented methodology. All films should contain name of the film, name of the director, and year of release. All foreign films are films but also have language the film is in, subtitle information, and translation of the film name into English. There can be more than one subtitle for a movie (imagine a film in French that has English and Spanish subtitles). There can also be more than one director of a film. Bollywood films are foreign films that have songs and may have secondary languages as well. ÂÂ
There should ways to access and mutate all the information stored. Inheritance must be used to accomplish this assignment. There should be a parent class for films and a class which inherits from that class and represents foreign films and class that represents Bollywood films which inherits from foreign films.
In addition to the requirements above, each film class must override the toString method inherited from the Object class. The overridden definition of each toString method should return all the information stored about that specific film. The parent class for films must also override the equals method inherited from the Object class. This method should determine whether two films are the same. If they are the same it should return true otherwise return false.    ÂÂ
Finally, demonstrate a prototype of this program by allowing the user to either create up to ten films (an array of films). Provide the user with a menu of options to create a film, foreign film, or Bollywood film. Once a film is created it should be stored so that it can be accessed again. There should be an option to display all the information for all films entered so far. Use the toString method to display the information for each film. After a user enters a film use the equals method in the film class to make sure that film has not already been entered into the system. If it has tell the user that film already exists in the system and do not store it again. If it has not been entered then insert it into the system.     ÂÂ
You may use any films to test your system, but make sure to include at least one film, one foreign film, and one Bollywood film, and at least five films. If you are not familiar with films or foreign films or Bollywood films a list is provided below so that you use these films to test your program. ÂÂ
Film
Name of Film: The MatrixÂÂ
Name of Director(s): Andy Wachowski, Lana Wachowski
Year of Release: 1999
Foreign Film
Name: Densha Otoko
Name of Director(s): Shosuke Murakami
Year of Release: 2005
Language: Japanese
Subtitle Information: English
Translation: Train Man
Bollywood Film
Name of Film: Veer-Zaara
Name of Director(s): Yash Chopra
Year of Release: 2004
Language: Hindi
Secondary Language (if any): Urdu, Punjabi
Subtitle Information: English, Arabic, Tamil, Telugu
Translation: Veer-Zaara
Songs:ÂÂ
1) "Tere Liye" ÂÂ
2) "Main Yahan Hoon"ÂÂ
3) "Aisa Des Hai Mera"
4) "Yeh Hum Aa Gaye Hain Kahan" ÂÂ
5) "Do Pal"  ÂÂ
6) "Kyon Hawa"
7) "Hum To Bhai Jaise"ÂÂ
8) "Aaya Tere Dar Par"
9) "Lodi"ÂÂ
10) "Tum Paas Aa Raahein Ho" ÂÂ
11) "Jaane Kyon"
Bollywood Film
Name of Film: Pyaasa
Name of Director(s): Guru Dutt
Year of Release: 1957
Language: Hindi
Secondary Language (if any): none
Subtitle Information: English
Translation: Thirsty
Songs:ÂÂ
1) "Aaj Sajan Mohe Ang Lagalo"ÂÂ
2) "Ham Aapki Aankhon Me" ÂÂ
3) "Jaane Kya Tune Kahi" ÂÂ
4) "Jane Woh Kaise Log" ÂÂ
5) "Sar Jo Tera Chakraye" ÂÂ
6) "Yeh Duniya Agar Mil Bhi Jaaye Toh Kya Hai"
7) "Ye Hanste Huye Phool" ÂÂ
8) "Jinhen Naaz Hai Hind Par" ÂÂ
9) "Tang Aa Chuke Hain Kashm-e-Kashe Zindagi Se" ÂÂ
Bollywood Film
Name of Film: 3 Idiots
Name of Director(s): Rajkumar Hirani
Year of Release: 2009
Language: Hindi
Secondary Language (if any): Urdu, English
Subtitle Information: English, French, Spanish
Translation: 3 Idiots
Songs:ÂÂ
1) "Aal Izz Well"
2) "Zoobi Doobi" ÂÂ
3) "Behti Hawa Sa Tha Woh"
4) "Give Me Some Sunshine"
5) "Jaane Nahin Denge Tujhe"
6) "Zoobi Doobi - Remix"
7) "Aal Izz Well - Remix"
Explanation / Answer
Super, I told you. I can do these but atleast for 1500 points. and kindly dont rate for this. If interested, just let me know. else fine
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.