diff --git a/java-arraylist-examples/.classpath b/java-arraylist-examples/.classpath new file mode 100644 index 0000000..0cbf9cd --- /dev/null +++ b/java-arraylist-examples/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/java-arraylist-examples/.project b/java-arraylist-examples/.project new file mode 100644 index 0000000..91941f2 --- /dev/null +++ b/java-arraylist-examples/.project @@ -0,0 +1,17 @@ + + + java-arraylist-examples + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/java-arraylist-examples/src/AccessElementsFromArrayListExample.java b/java-arraylist-examples/src/AccessElementsFromArrayListExample.java index 0ab1a37..2ab70d8 100644 --- a/java-arraylist-examples/src/AccessElementsFromArrayListExample.java +++ b/java-arraylist-examples/src/AccessElementsFromArrayListExample.java @@ -6,7 +6,7 @@ public static void main(String[] args) { List topCompanies = new ArrayList<>(); // Check if an ArrayList is empty - System.out.println("Is the topCompanies list empty? : " + topCompanies.isEmpty()); + System.out.println("Ashok doing git practice ? : " + topCompanies.isEmpty()); topCompanies.add("Google"); topCompanies.add("Apple"); diff --git a/java-arraylist-examples/src/ArrayListCollectionsSortExample.java b/java-arraylist-examples/src/ArrayListCollectionsSortExample.java index 6ad7594..45b24c3 100644 --- a/java-arraylist-examples/src/ArrayListCollectionsSortExample.java +++ b/java-arraylist-examples/src/ArrayListCollectionsSortExample.java @@ -11,7 +11,7 @@ public static void main(String[] args) { numbers.add(5); numbers.add(2); - System.out.println("Before : " + numbers); + System.out.println("Ashok number here : " + numbers); // Sorting an ArrayList using Collections.sort() method Collections.sort(numbers);