You are required to design a movie class which has following attributes String title; String Theme; String director; Int rating; String release_Date; Provide default & Parameterized constructors....


You are required to design a movie class which has following attributes


         String title;


         String Theme;


         String director;


         Int rating;


         String release_Date;



  • Provide default & Parameterized constructors.

  • Provide getters & setters for data members.

  • Provide a toString() method to print values.


 Now create an array of movies store values in it. After that you have to print the following



  • All the movies.

  • Movies from a director whose name starts with ‘a’;

  • All comedy movies.

  • All the movies released on 2-2-2020.

  • All movies with rating 5.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here