Fill in the blanks for the declared type and object type of…

Fill in the blanks for the declared type and object type of the local variables (after the code executes, which always does successfully) A v1; B v2 = new B(); v1 = v2; C v3 = new A();   Local Variable: v1 Declared Type: _______________ Object Type: _________________ Local Variable: v2 Declared Type: _______________ Object Type: _________________ Local Variable: v3 Declared Type: _______________ Object Type: _________________

You will write parts of a generic Linked List class (named G…

You will write parts of a generic Linked List class (named GenericLinkedList). The class will receive one type parameter, E. · It has a private inner class: a generic Node class. o It will have the instance variables data and next with appropriate types o It will have a 2-arg constructor (the first parameter is data, and the second is next, with those parameter names) o Getters and setters are not required in Node · It has the instance variables head and size with appropriate types o Getters and setters are not required or allowed · Q25 (on the next page) will continue this question with a method for GenericLinkedList, but for now, write the two classes without any methods