I need to know the way to find the second largest element among an array of objects. for eg. if there is an array of objects of a Book class with attributes like book name, price, in stock quantityI need to know the way to find the second large
I need to know the way to find the second largest element among an array of objects. for eg. if there is an array of objects of a Book class with attributes like book name, price, in stock quantityI need to know the way to find the second large