You are required to design an Movie class which has following attributes String name; String Director; String release_Date; Int duration; 1. Provide default & Parameterized constructors. 2. Provide...


You are required to design an Movie class which has following attributes


         String name;


         String Director;


         String release_Date;


         Int duration;


1. Provide default & Parameterized constructors.


2. Provide getters & setters for data members.


3. Provide a toString() method to print values.


 Now create an array of items store values in it (take values form user). After that you have to print the following


1. All the movies in the array.


2. Movie whose name starts with ‘a’;


3. Movie whose director name end with “m”.


4. All the movies having released on 28-3-2021.


5. Movie with longest duration.




Programming language :Java




Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here