@@ -0,0 +1,988 @@
+// package com.nbkworld.nbkhope;%0A%0Aimport java.util.List;%0Aimport java.util.ArrayList;%0Aimport java.util.Iterator;%0A%0Apublic class Todo %7B%0A%09/**%0A%09 * Attributes%0A%09 */%0A%09private String name;%0A%09private String note;%0A%0A%09/**%0A%09 * Constructors%0A%09 */%0A%09public Todo() %7B%7D%0A%0A%09public Todo(String name, String note) %7B%0A%09%09this.name = name;%0A%09%09this.note = note;%0A%09%7D%0A%0A%09/**%0A%09 * Getters%0A%09 */%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public String getNote() %7B%0A%09%09return note;%0A%09%7D%0A%0A%09/**%0A%09 * Setters%0A%09 */%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public void setNote(String note) %7B%0A%09%09this.note = note;%0A%09%7D%0A%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// List%3CTodo%3E todos = new ArrayList%3CTodo%3E();%0A%09%09List todos = new ArrayList();%0A%0A%0A%09%09todos.add(new Todo(%221%22, %22one%22));%0A%09%09todos.add(new Todo(%222%22, %22two%22));%0A%09%09todos.add(new Todo(%223%22, %22three%22));%0A%0A%09%09for (Iterator iter = todos.iterator(); iter.hasNext(); ) %7B%0A%09%09%09Todo todo = (Todo) iter.next();%0A%09%09%09System.out.println(todo.getName() + %22 %22 + todo.getNote());%0A%09%09%7D%0A%09%7D%0A%7D

Add Java example of Todo class