If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
@Cablur2 жыл бұрын
The way you teach is so awesome and feels just right. You not only tell people the theoretical terms and how stuff works, but you give us real-life examples, stuff we can literally grab on. This makes learning so much easier and fun. Thank you!
@tundeolokun71084 жыл бұрын
You are literally better than my professors at university. Plates be damned.
@gabrieldenobrega2 жыл бұрын
Definitely. I mean, my teacher taught us stacks using static arrays when there's already a class on Java.util that we can use for that! I agree that it may be important for us to visualize how stacks work but the method used on this video is so much simpler and direct. I think that, as programmers, we do not need to reinvent the wheel every time we program.
@KeilyKapoor-p7m2 жыл бұрын
I agree, my professor demotivates me to learn programming. But watchng such a good explanation helps me)
@oshito2 жыл бұрын
@@gabrieldenobrega In my opinion when you're still learning it's better to know how data structures like stacks are programmed in order to see how it works logically.
@gabrieldenobrega2 жыл бұрын
@@oshito Nowadays I see why he wanted to teach us that way, I think I was just frustrated at the time.
@MafazaSPutra5 жыл бұрын
Best java tutorial on youtube so far. can't wait to see the GUI tutorial ... hope your channel grows soon! I can only help with subscription, views, thumb, like, and comment ...
@theFraggedNoobian5 жыл бұрын
Awesome video, just went through HashMap Stacks and Queues from you and it was so easy to understand with the examples. Coding at the same time with you makes me remember them. Keep it up!
@abdulazizhaqparast77644 жыл бұрын
I would be honest, the way you explain coding with real life examples, it is fabulous.
@RixCanDoit5 жыл бұрын
Hey Alex. Yes, the video game visual was fine. I probably would have gone with the cafeteria plates visual, where every time you take a plate the stack moves up so the next plate can be taken, etc. When you put the washed plates back, it pushes down the existing plates. That's how it was explained to us back in the 70's. On another note, sharing 'why' you would care about stacks would be useful. I imagine one might use stacks (FILO) for such things as reversing things you did in your app, like the UNDO menu item we often see in programs. Out of curiosity, what do you use Java for? Program any Windows programs? I'd sure like to see more videos on how to create programs for the Windows OS that NOT console apps, but GUI programs. Don't see many tutorials on that. Everything is mostly teaching in the console. Who wants to run console programs on Windows? Thanks for a wonderful and informative video. Keep up the good work and get this channel to grow!
@kalyanb20024 жыл бұрын
Thanks for sharing great examples for stack implementation in real time (undo).Really helps a lot.
@preacherluigi2 жыл бұрын
The pile of dishes is a better way to explain the concept.
@joondagoon67743 жыл бұрын
you explain this in 9mins what professors take a whole lecture ty
@vladkuprienko71623 жыл бұрын
Are they doing it in more depth?
@joondagoon67743 жыл бұрын
@@vladkuprienko7162 I learned this in intermediate programming but the professor had a hard time explaining it so when I took advanced it was confusing
@michaellabeltran38074 жыл бұрын
Hi alex! I'm a computer science student and watched different videos related to java, but you make Java easier for me!
@TheBsoncarty2 жыл бұрын
I love your videos! I was doing LeetCode and came across a solution that used Stack, which I had never heard of. Thanks to you I feel like I have a basic understanding now. Thanks dude!
@notyourangel92 жыл бұрын
This is great and the real world visuals really keep things clear
@vishy5 жыл бұрын
The video game example for stacking was excellent. You are a fantastic tutor Alex!
@PrathameshMawlankar3 жыл бұрын
That's a very clean explanation tutorial for java stacks. The way you explained was neat and easy. Great man.
@bizcodetech4 жыл бұрын
Hay Alex, Im your student... You are very Good teacher. Simple and accurate. Im watching all of your videos one by one. And have reached on this. I wish you would teach us android studio, if possible. Thanks.
@Chris-rw7zh3 жыл бұрын
The video game visual was incredibly helpful, thank you Alex and I hope you are doing well and happy with your newfound passion :)
@mohittyagi66945 жыл бұрын
congrats m8 for you new office space.. wish you best of luck for your future endeavors
@NamNguyen-ir7gt3 жыл бұрын
Thank Alex a lot for helping me learning java in easiest i have ever watched
@imaanmajal2783 ай бұрын
Your videos have saved me for my final and carried me throughout this semester of Java. You explain it way better than my lecturers who just read the slides which are literally just passages from our textbook :/
@valcmeza4 жыл бұрын
All of your videos make my day. But I also learn from them. Keep up the good work Alex!
@2012SnowMan4 жыл бұрын
Awesome video! The video games is a great analogy for showing the functionality
@geraldephraim77442 жыл бұрын
Excellent video explaining Stacks! Never understood what it meant till after watching this video. Thanks loads!
@Evilshrimp024 жыл бұрын
I just wanted to let you know that even after uploading this video 6 months ago. You are still teaching people. Thank you so much. Yes, the video game stack did help out a lot.
@ayabonganomvalo88252 жыл бұрын
Wooow all of your videos are explained clearly and understandable thanks man🤟
@slnaisld212127 күн бұрын
the way u explained this was so refreshing
@andreeadan55954 жыл бұрын
The video game visual was really good :) Besides what you presented, I find really useful the "push" method too. Thanks for your videos! They are really clear and helpful!
@kcconsigo74294 жыл бұрын
Best tutorial so far. Keep it up 👍💪
@Mariam_PinkLotus4 жыл бұрын
the best explanation ever seen. thank you Alex
@jeremy13914 жыл бұрын
Just discovered your channel recently, awesome videos and explanations. I'm taking data structures at the moment and these have been extremely helpful.
@chimmypark7894 жыл бұрын
Thanks a lot for this tutorial. I now finally understood the stacks on Java. Thank you so much!
@soheylatofighi5165 Жыл бұрын
Hi Alex, that was very clearly explained as usual. I loved the visualisation.
@lucassilva7423 жыл бұрын
holy shit, ty, 06/28/2021 in brazil, and this video makes me very grateful, i couldn't find good explanations about stack anywhere, ty for this video
@summerche1655 жыл бұрын
the video game example is really helpful! thanks a lot!
@mragunathan16274 жыл бұрын
another fantastic video, the analogy made it very comprehensible, thanks!
@jedcurwen34102 жыл бұрын
Awesome! I've just started learning Java for University and your videos have helped me a lot! so thank you so much:)
@sulbhagirwalkar99173 жыл бұрын
best java tutorials ,very well explained
@baneous183 жыл бұрын
Thank you Alex.. you are the best
@vishvesh104 жыл бұрын
Bro, you're really good. Love how you keep it very simple. Also congratulations, IK it's a little late probably but still :p
@teodorprodanov6624 жыл бұрын
Very useful video. I understood everything without any problems. Good Luck !
@kalyanb20024 жыл бұрын
Wonderful explanation of the concept using a realistic example (stack of video games). Thanks for making it crisp and powerful..
@chrisforrest8994 Жыл бұрын
Your voice sounds so soothing Alex wish my professors sounded like you learning coulda been easy 😅
@fernandoreyna2990 Жыл бұрын
The video game visual was perfect for understanding how stacks work.
@zubeirayaanle64172 жыл бұрын
simple explanation, and easy to understand. thanks man nice office bedroom
@gamerneutro32458 ай бұрын
your explanation was wayy so simple, thanks a lot for that
@nevernthirbeni5353 жыл бұрын
awesome tutorial, you make it really simple.
@anujchaturvedi56423 жыл бұрын
When do you use the method add() and when do you use push()?
@Savageboss529 ай бұрын
Even though I speak very little English, I understood everything, thank you.
@HessaIT-u8fАй бұрын
Your videos have saved me for my final Thank you
@sergiocarbajal40773 жыл бұрын
Great tutorial, very helpful.
@SoteKaGota9 ай бұрын
That video game visualization was helpful sir. Loved your videos so far... Hope you will teach springboot...
@etotheman Жыл бұрын
thank you so much alex! i have an exam coming up
@victorzarate53093 жыл бұрын
Alex is one of the GOATs.
@someguy0075 жыл бұрын
Oh that was great, thank you. Is there a reason why you didn't use push?
@thushankalana49402 жыл бұрын
Thank you so much. You explain cleary and better.❤️🔥😊
@lungelosishi11572 жыл бұрын
You are the best Bruh You always make it simple
@chocovocxdoz90179 ай бұрын
bro teach us much much better than our lecturers
@seandempsey45072 жыл бұрын
holy i'm drunk and late on my assignment and you made that so ez thanks alex!!! UR A GEM
@dd86012 жыл бұрын
Video game visualization was super helpful.
@thiagosilva28904 жыл бұрын
You are an excellent tutor!
@yicai74 жыл бұрын
Looking forward to ur data structures and algo lesson!
@fionalong4755 Жыл бұрын
You beat my professor in explaining stack
@melisakuruscu827614 күн бұрын
yes that was really helpfull to understand Stacks
@aameaame79733 жыл бұрын
you are every beginner's saviour!!!!
@sonamgurung60113 жыл бұрын
your tutorial gives me aid to learn Java.
@celestial12105 жыл бұрын
Great tutorial! Thank you!
@Applestaffman2 жыл бұрын
why not use push instead of add ?
@kainatelahi13223 жыл бұрын
You should make course for data algorithm . Because I understood more from you then my teacher.You already have , linkedlist, stack and que.
@ashuumudunuri37603 жыл бұрын
even udemy teachers wouldn't say this great.. your channel must be hyped seriously
@yolokazinogantsho81112 жыл бұрын
Can you do stacks and queues with singly linked list or with doubly linked lists
@roaa58244 жыл бұрын
that was really helpful, thank you a lot
@vc98674 жыл бұрын
Alex. Thanks for the video. What is the difference between hashmap and stack?
@joselorenzini41962 жыл бұрын
Thanks alex , you are very good teacher
@limzisin264 жыл бұрын
It's helpful, thank you so much!
@nicholaslim55194 жыл бұрын
Thank u very much... i need to know more about Java cuz I intend to create an app for fun asap with Java
@nathnaelteklu13842 жыл бұрын
It was very helpful! Thank you!
@karimtoumi37493 жыл бұрын
Can you do more videos about interfaces please
@explorerars4208 Жыл бұрын
Very nice lecture👍👍👍
@midautumn34402 ай бұрын
Alex, thanks alot!
@nategalit5407 Жыл бұрын
OMG THIS HELPED ME OUT SO MUCH!!!!!!!!!!!!!!!!!!
@solidninja2 жыл бұрын
its good to see a gamer teaches stacks java
@hydrogennetwork Жыл бұрын
i think Stack he made is a stack in the JVM's memory. the Stack holds the pools which hold the strings
@hydrogennetwork Жыл бұрын
nevermind Stack extends Vector, i found that out by using CTRL + Shift + T
@omidmehrabi5620 Жыл бұрын
it was the greatest tutorial
@proalexv2 жыл бұрын
Another great video, thank you so much!
@PushpaShivakumar13094 жыл бұрын
Congratulations 🎉🎊 for new office
@SouravDhali-mc6rc3 жыл бұрын
thank's brother. love from Bangladesh.
@arturus47504 жыл бұрын
The video game visualisation was genius in my opininon
@zhangchi7773 жыл бұрын
Can someone explain the difference between stacks and ArrayLists? In terms of purpose and functions
@Emma-wy5yh Жыл бұрын
Great video, what program are you using? I like how it auto-gens your main function
@CrazyGamesMinecraft5 жыл бұрын
So whats the advatage of this instead of using a linked list?
@alexlorenlee5 жыл бұрын
CrazyCode great question! It’s mostly a matter of taste. This uses slightly less memory than a linked list because a linked list has to store info about other nodes. If you’ve got data you want to treat like a stack in a fast way with ways to see the top and pull from the top, feel free to go for a stack. But if you can get it to work with a linked list or anything else, you’re usually better off to go with what you feel comfortable with :)
@poetic_4 жыл бұрын
@@alexlorenlee 🙏
@antons63352 жыл бұрын
This is very helpful, thank you
@aviargas74063 жыл бұрын
thank you man !! really great
@letsdrivewithaz5413 жыл бұрын
make a video about LinkedList and how to use it. like where can we use it if we are developing any program. everyone talks about node and singly and doubly that's it. Create a program which have all the OOP 4 pilers, Data Structure, and Algorithm. that way we can get a better idea of java. thank you
@ponanbalagan29884 жыл бұрын
Great wrk bro... 🎉
@nursabrinarozaini22404 жыл бұрын
thank you! this really helped
@מוטירז-י3ח2 жыл бұрын
Very good video. Thank you
@lil16775 жыл бұрын
Thank you with all my heart
@MisterWealth5 жыл бұрын
Can you start a series on building a video simple video game? Even if it's something like a gameboy game, because you could use simple sprites, keypad, simple buttons, alerts, damage, health and all the "simple" things to get moving on more complex games.