Assignment 25577

Question 3: (1 pt)How can you implement Queue class using LinkedList class using composition vs using inheritance? Question 4: (1 pt)Which problem solving approach is better: recursive solutions or iterative ones? Justify.Question 5: (1 pt)If there are multiple catch blocks for one try block and in each block the exception objects correspond to a base class and its corresponding derived class. Which catch block should appear first: the one for the base class or for the derived class? Justify.