Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public static List<Task> createTasksList(){
  2. List<Task> tasks = new ArrayList<>();
  3. tasks.add(new Task("Take out the trash", true, 3));
  4. tasks.add(new Task("Walk the dog", false, 2));
  5. tasks.add(new Task("Make my bed", true, 1));
  6. tasks.add(new Task("Unload the dishwasher", false, 0));
  7. tasks.add(new Task("Make dinner", true, 5));
  8. return tasks;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement