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?
2 Respuestas
0
https://code.sololearn.com/ctmqQxGnhn7h/?ref=app
String is always object
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.