From 7fbfbfc106e826117336db46ef21060d0fba16d7 Mon Sep 17 00:00:00 2001 From: CodeByAshok Date: Mon, 25 Mar 2024 18:13:03 +0530 Subject: [PATCH 1/3] iam ashok --- .../src/ArrayListCollectionsSortExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); From 7dd13585299ca15570514158e1684a6584a46ea6 Mon Sep 17 00:00:00 2001 From: CodeByAshok Date: Mon, 25 Mar 2024 18:21:17 +0530 Subject: [PATCH 2/3] ashok change ashok_dev banch --- java-arraylist-examples/.classpath | 6 ++++++ .../src/AccessElementsFromArrayListExample.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 java-arraylist-examples/.classpath 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/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"); From 44ffb889f52a058f3e17f25e927e6098a658091b Mon Sep 17 00:00:00 2001 From: CodeByAshok Date: Mon, 25 Mar 2024 18:47:03 +0530 Subject: [PATCH 3/3] i add all at last --- java-arraylist-examples/.project | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 java-arraylist-examples/.project 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 + +