Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA CODE IS REQUIRED 13. Create a class Film with string objects which stores name, language and lead_actor and category (action/drama/fiction/comedy). Also include an integer
JAVA CODE IS REQUIRED
13. Create a class Film with string objects which stores name, language and lead_actor and category (action/drama/fiction/comedy). Also include an integer data member that stores the duration of the film. Include parameterized constructor, default constructor and accessory functions to film class. Flim objects can be initialized either using a constructor or accessor functions. Create a class FilmMain that includes a main function. In the main function create an array of objects that stores the information about the film. Also write suitable methods to display the following a. The English film(s) that has Arnold as its lead actor and that runs for shortest duration. b. The Tamil film(s) with Rajini as lead actor. c. All the comedy moviesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started