What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-11-16 11:21:24
java write arraylist of objects to file
try { FileOutputStream fos = new FileOutputStream("output"); ObjectOutputStream oos = new ObjectOutputStream(fos); oos.writeObject(MenuArray); // write MenuArray to ObjectOutputStream oos.close(); } catch(Exception ex) { ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5