How to pull a field from an object stored in an arraylist?
Can I get some working code examples that I can pick apart and study how they work? Specifically, I need to figure out how do I get the address field from the x numbered object in my list? How do I delete the xth object from the list? How do I set the price field of object x to a new value? I understand how the houseList.add places the data into a new object that is appended to the end of the list, but I do not understand the converse of it and how to target a specific object and manipulate it. Please show a working multi-class example. Thanks! The class that creates the House object and it