//Name: Maryam shaheen //ID: 1140427 //Comp231 Assignment#2 public class Movie {// the beginning of the Movie Class private String title;// defining a title for the movie private String starring;// defining the starring for the movie private String runningTime;// defining the runnigTime for the movie private String country;// defining the country for the movie private String language;// defining the language of the movie boolean available; public Movie() {// an no-argument constructor for the Movie Class }// the end of the an no-argument constructor public Movie(String title, String starring, String runningTime, String country, String language,boolean available) { // a constructor with arguments for the Movie Class this.title = title;// initializing title this.starring = starring;// initializing starring this.runningTime = runningTime;// initializing runningTime this.country = country;// initializing country this.language = language;// initializing language this.available = available;// initializing available }// the end of the constructor with arguments public String getTitle() {// method for getting the title return title;// return statement }// the end of the getTitle method public void setTitle(String title){// method for changing the value of title this.title = title;// return statement }// the end of the setTitle method public String getStarring() {// method for getting the starring return starring;// return statement }// the end of the getStarring method public void setStarring(String starring) {// method for changing the value of starring this.starring = starring;// return statement }// the end of the setStarring method public String getRunningTime() {// method for getting the runingTime return runningTime;// return statement }// the end of the getRunningTime method public void setRunningTime(String runningTime) {// method for changing the value of runningTime this.runningTime = runningTime;// return statement }// the end of the setRunningTime method public String getCountry() {// method for getting the country return country;// return statement }// the end of the getCountry method public void setCountry(String country) {// method for changing the value of country this.country = country;// return statement }// the end of the setCountry method public String getLanguage() {// method for getting the language return language;// return statement }// the end of the getLanguage method public void setLanguage(String language) {// method for changing the value of language this.language = language;// return statement }// the end of the setLanguage method public String toString() {// toString method return "{title=" + title + ", starring=" + starring + ", runningTime=" + runningTime + ", country=" + country + ", language=" + language + ", available=" + available + "}";//return statement }// the end of toString method }// the end of the Class