Intermediate Java Tutorial – 4 – Introduction to Collections
20 responses to “Intermediate Java Tutorial – 4 – Introduction to Collections”
your java tutorials are awesome dude ….
List<String> list = Arrays.asList(things);
A help for you guys.
If you got an error on List<Strin……. line that's because ur ide imported java.awt.List; instead of java.util.List; . Ur ide imported because u didn't and it gave an option which you selected to execute.
one of the best tutorial i have ever heard…!!! love the way u make the things so simple. Thanks bro.
literally the best series for learning java anywhere on the internet, thank you thenewboston.
That like to dislike ratio.
im pretty sure you were hungry while doing this vid.
recursion was confusing can u plz help me in dat
If anyone didn't know yet, you can write System.out.println() just as "sysout" and then ctrl + space. (google control assist for more info, saves time)
Hi there !!! Are you scrolling through comment section for egg related comments, just like me. Welcome onboard, yes you wont be disappointed we have a few. And as always awesome tutorial thanks Bucky.
to save yourself from typing for loops for adding array elements to lists, you could just do:
ArrayList<String> list1 = new ArrayList<>(Arrays.asList(things));
is list.size() similar to list.length() ??
I'm from Egypt and i'm one of follower of this Tutorial because i had studied java in my faculty of engineering Zagazig i hope to contact one of you to connect the culutures and this my account on facebook https://www.facebook.com/engmahmoud.soudiand anyone who wants to learn Arabic i can help them
Can you plz create and upload Advanced java tutorials PLZ
can u make a video on java interface
Can't you add anything in an ArrayList/LinkedList anyway ? It doesn't have to be only Strings or ints, etc.
List l = new LinkedList();
l.add("toto ! !");
for(int i = 0; i < l.size(); i++)
System.out.println("Element at " + i + " = " + l.get(i));
System.out.println("n t Now same thing but with an Iterator");
ListIterator li = l.listIterator();
man Cadillacs are getting pretty dam ugly.