Advertisement
grook

Untitled

Jun 15th, 2021
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. Task task = new Task {1,
  2.     “Реализовать многопоточность”,
  3.     “Реализовать асинхронный вызов методов"}
  4. ObjectMapper mapper = new ObjectMapper();
  5. mapper.writeValue(new FileOutputStream("tasj.json"), task);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement