Question: 2 0 . Which statements are correct about generic data type? ( Choose all that apply ) The generic data type must extend from an

20. Which statements are correct about generic data type? (Choose all that apply)
The generic data type must extend from an interface
The generic data type in binary search tree must extend a numeric interface
The generic data type in linked list must extend the Comparable interface
The generic data type in binary search tree must extend the Comparable interface
The generic data type in linked list must extend the Comparator interface
The generic data type in binary tree must extend the Comparator interface
The generic data type can extend from an interface
The inner class ListNode does not need to specify generic data type in the LinkedList (assume LinkedList used generic data type)
The outer class TreeNode does not need to specify generic data type in the BinarySearchTree (assume BinarySearchTree used generic data type)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!