Arraylist Objects to Database
I have an arraylist As such :-
products.add( new CarsSubProduct( "FordMustang",1,1000,10000 ) );
FordMustang is Car name
1 is Car number
1000 is total number of cars in stock
10000 is price per car
I will like to Store it to access database or excel.Please how can these be done.
Re: Arraylist Objects to Database
Working with excel in Java is best done through a previously-written API, such as JExcel.
Re: Arraylist Objects to Database
Or just store it as a simple CSV file which Excel reads just fine :)
// Json
Re: Arraylist Objects to Database