0

Putting Objects in LinkedLists

My teacher wants us to create a linked list of Objects, but I don't understand how to add to that list nor do I know how to refer to the methods of the object. Can someone give me an example of how to do this?

11th Jan 2020, 12:34 AM
Grace Metri
2 Respuestas
11th Jan 2020, 1:30 AM
Prathvi
Prathvi - avatar
0
Hello_World Would you know anything about how to create an unlimited number of Objects? Like for example, we'd have an Order Class and a Pizza Class, and the customer wanted to have a certain number of pizzas(objects). How would I code something like that using linked lists? I want to add a pizza object for Everytime a user wants a pizza or somethng like that.
11th Jan 2020, 1:56 AM
Grace Metri