Home / Expert Answers / Computer Science / nbsp-nbsp-this-is-java-question-we-create-that-classes-mentioned-i-photo-so-please-i-need-qu-pa176

(Solved):     this is java question we create that classes mentioned i photo so please i need qu ...



Material(id,name,scores, release_year,price,category,type);
void addScore(score:int); // add a new score to scores
double get

 

CLASS6-Define a class named Movie and inherite it from the Material class..
actors: ArrayList (birden fazla Person s?n?f?ndan

 

this is java question we create that classes mentioned i photo so please i need quick answer(urgent)

Material(id,name,scores, release_year,price,category,type); void addScore(score:int); // add a new score to scores double getAvgScore(); //getting avarage score of this material object showDetail(); Define a class named Book and inherite it from the Material class. writer: Person numberOfPages : int Book(id, name,scores, release_year,price,category,type,writer, numberOfPages); setWriter(newWriter:Person); and the other methods which coming from Material class. CLASS6-Define a class named Movie and inherite it from the Material class.. actors: ArrayList (birden fazla Person s?n?f?ndan türetilmi? nesne bar?nd?rabilir) director: Person Movie(id, name,scores, release_year,price,category,type,actors, director); void addActor(actor: Person); override showDetail(); ... and the other methods which coming from Material class. CLASS7-Define a class named Netflix materials: ArrayList // (it must be able to contain multiple material objects.) credential: User; isLogin:boolean //initial value must be false and you don't need to get this value from the user. Netflix(materials); login(user:User // if credential is true you can set isLogin=true and credential=user; (For Example: userName:testUser password:123456); //user must be logged in to add anything otherwise show a warning message by using below 3 methods. You must check "LoginStatus" of user addMovie(m1:Movie); addBook(b1:Book); addMaterial(m2:Material); (Create 4 Methods. You do not need to do any login checks for the following steps for NETFLIX.) N1-Create the function that displays the information of the object with the highest average score among all materials. N2-Create the function that displays the information of the movie with the lowest average score on the screen. N3-Create a function that takes a "category id" as a parameter and displays information on the most expensive material in that category of netflix. N4-Create a function that takes a person's id as a parameter and displays the information of all movies acted by him/her on the screen. In Main Method: 1-Create multiple Person objects. You will use them when defining objects such as Movie, Book. 2-Create multiple Category objects. You will use them when defining objects such as Movie, Book. 3-Create multiple Movie objects and add some scores to them. 4-Create multiple Book objects and add some scores to them. 5-Create a User object. 6-Create a Netflix object. 7-Login for netflix object. 8-Add the objects you created in steps 3 and 4 to the Netflix object. 9-Finally, runnig the N1-N2-N3-N4 functions mentioned in the Netflix section, then ensure that their outputs are displayed separately.


We have an Answer from Expert

View Expert Answer

Expert Answer


Solution": ---- Java Code Snippets: --- public class Material { private int id; private String name; private int[] scores; private int releaseYear; pr
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe