the class should have a parameterized constructor that takes these 3 field values and creates Animal objects. the class should have a method printInfo0 which will print its info. For example: Animal a1 = new Animal ("Dog", 10, "Carnivore"); a1.printinfo(); this will print : A Dog is expected to live 10 years and eats meat. Animal a2 = new Animal ("Cow", 7, "Herbivore"); a2.printinfo(); this will print : A Cow is expected to live 7 years and eats grass. Now, create 2 different objects in a driver class and print their information using the method. 2. Write a class Bus which has a field: no_of_seats. The class should have 2 methods: increaseCapacity 0 increaseCapacity (int newSeats) the first method will increase the existing no_of_seats by 5 seats, while the second method will increase the existing capcicity by the parameter value provided. Now, create a bus object in driver class, set its capacity, and then use the methods to increase capacity. Print the new capacity to see if the changes has taken effect. - Submit as a single PDF file - The assignment should be completed in a Word processor and then converted into PDF. - Do not Plagiarize Answer all the questions. You may not find all the answers from the slides. So, you are allowed to do your research from books/online etc. But you should mention the references. 1. List few differences between a Switch and a Router? 2. Why is the Layered Architecture important in Data Communications? How does it benefit protocol design? 3. Mention few of the network topologies with diagrams that describes how devices are connected to each other. 4. What is the difference between Intranet and Internet? Can you mention few protocols that are used in a. Intranetb.Internetc.bothIntranetandInternet 5. What is the difference between CSMA/CD and CSMA/CA