Question: Need help asap 1. Create 2 actor objects as follows: name Adam, yob: 1990 A1, Create the movie M1 as follows (use obejcts defined in
1. Create 2 actor objects as follows: name Adam, yob: 1990 A1, Create the movie M1 as follows (use obejcts defined in 1) A2, name Sally, volb 1980 name:The Train, starring: Sally, supporting 3. Print M1 in the following format: Title: The Train, Starring: (Adam ; 1990), Supporting 5ally, 1980) 4. Create a copy of M1 and name it M1. Change the title of the copied movie to Avatar and the starring, wctor to Martin whose year of birth is 1978. Define a 2D array of 5 by 8 integers, where the rows represent an actor Assume the array is populated by O or 1, where 1 in row i and colomn j means code to calcualte how many movies each actor participated in. 5. the actor i was in movie j. write 6. public class Q3Testerf public static void main(Stringl) args) 1. Create 2 actor objects as follows: name Adam, yob: 1990 A1, Create the movie M1 as follows (use obejcts defined in 1) A2, name Sally, volb 1980 name:The Train, starring: Sally, supporting 3. Print M1 in the following format: Title: The Train, Starring: (Adam ; 1990), Supporting 5ally, 1980) 4. Create a copy of M1 and name it M1. Change the title of the copied movie to Avatar and the starring, wctor to Martin whose year of birth is 1978. Define a 2D array of 5 by 8 integers, where the rows represent an actor Assume the array is populated by O or 1, where 1 in row i and colomn j means code to calcualte how many movies each actor participated in. 5. the actor i was in movie j. write 6. public class Q3Testerf public static void main(Stringl) args)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
