how we need to use addAt function of generic linked list to add a car in it(car consist of speed,price,color)
Generic lined list of type car
It would work like any other generic funtion of a linked list. You should use A.addAt(ob, index) . Here A is the name of the generic linked list to which you need to add your car. ob is that car object which you need to add and index is the index at which you plan to add the beforementioned object.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.