Create a class Marvel with the below attributes: movield - int movieName - String Θ budget-double (in crores) boxOfficeCollection - double (in crores) rating-int The above attributes should be private, write getters, setters and parameterized constructor as required. Create class Solution with main method. 2 Te Implement two static methods - findAverageRating and searchMovie By BoxOfficeCollection in Solution class. findAverageRating method: This method will take two input parameters - array of Marvel objects and a double parameter. The method will return the average rating of movies from array of Marvel objects whose budget is greater than the given Budget (double parameter passed). If no Marvel movies with the given condition is present in the array of Marvel objects, then the method should return 0. searchMovie ByBox Office Collection method:
Answers
Answered by
0
Answer:
the reaction of the configuration
Similar questions