From f92449074add0e6d665d6748354a4e9c35a9651b Mon Sep 17 00:00:00 2001 From: Jatan Choudhary <72161332+Jatan441@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:12:21 +0530 Subject: [PATCH] Updated List --- src/iterator/single/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iterator/single/Main.java b/src/iterator/single/Main.java index 512c9af..da817a2 100644 --- a/src/iterator/single/Main.java +++ b/src/iterator/single/Main.java @@ -11,9 +11,9 @@ public static void main(String[] args) { MyList list = new MyList(); // add strings - list.addItem("Prague"); - list.addItem("California"); - list.addItem("Amsterdam"); + list.addItem("Banglore"); + list.addItem("Mumbai"); + list.addItem("Noida"); // get iterator object Iterator it = list.iterator();