So in the class an arraylist<house> Houses; has been created. How do I create this array in Main.java?
I know how to do this with 1 object, e.g.
Expand|Select|Wrap|Line Numbers
- Owner X=new Owner();
- House myhouse=new House();
- X.setHouses(myhouse);
Thanks in advance for the replies!