Java Method Chaining Tutorial #85

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024

Комментарии • 93

  • @alexlorenlee
    @alexlorenlee  11 месяцев назад +2

    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

  • @Voduke789
    @Voduke789 4 года назад +30

    Very recently discovered this channel. I used to hate school and hated learning as a result. I've recently had a change of perspective on life and this channel was just what I needed to get me back into learning again. Thanks so much Alex.

    • @zanekase8099
      @zanekase8099 3 года назад

      you prolly dont care at all but does anyone know a tool to get back into an Instagram account?
      I stupidly forgot the login password. I would appreciate any tricks you can give me

  • @Channel-iu6de
    @Channel-iu6de 4 года назад +19

    never seen anyone show me this before, thanks.

  • @jharding32
    @jharding32 4 года назад +13

    I've finally watched all of your videos. Got through them today. They have helped SO MUCH. I am 44 years old and a seasoned COBOL professional. I never had much interest in pursuing the newer languages however my job is now going that direction and has been converting old legacy systems to newer technologies. While I am sad to see COBOL dying at my place of emplyment, I am happy that your videos have really boosted my confidence in java. THANK YOU!!

  • @agustinjauregui
    @agustinjauregui 4 года назад +8

    This explanation here is gold material:
    5:47
    I struggle a lot with constructors for some reason so it's a good combo as well. Thanks for sharing your knowledge!
    Typing "Student" is not easy, eh? xD

  • @sarahkatenoel
    @sarahkatenoel 4 года назад +1

    I'm 3ish years into my CS BS, and I'm so glad you covered this. I know how to do this already (kinda) but I'm SO glad I have an AlexLee-explaination now.

  • @mragamer8072
    @mragamer8072 4 года назад +6

    these java tutorials are honestly very helpful, thx for all of this alex, you man, are the best!

  • @debabpriyabandyopadhyay351
    @debabpriyabandyopadhyay351 4 года назад +1

    Happy Teachers'Day to you Sir... love from India!
    Thanks for being such a wonderful teacher...may God's blessings always be with you and your family! ❤️❤️☺️

  • @thewildhealer541
    @thewildhealer541 4 года назад

    Best RUclipsr for Java tutorials ever.

  • @sihleriti8872
    @sihleriti8872 3 года назад

    I did not know about chaining methods until today, I was doing my demo today and when I was asked about chaining methods I froze. Thank you for this tutorial .

  • @olivicultora
    @olivicultora 4 года назад

    I love your videos!! It feels like I’m learning from my senior peers and you explain parts of topics that professors always seem to fail at teaching. Thank you!!

  • @davitkvaratskhelia4033
    @davitkvaratskhelia4033 3 года назад

    You're the best Java teacher

  • @DeepakGupta-cd1yw
    @DeepakGupta-cd1yw 3 года назад

    The way you say I never understood it in my college days in most of your videos makes me wonder where else you learnt all these cool stuff.
    I think that’s today’s reality of some colleges which leave their students with pile of debts but no real knowledge.
    Anyways, thanks for producing these wonderful videos and content and making people’s lives easier.

  • @thewalkman4057
    @thewalkman4057 4 года назад

    Thanks! I have learned so much from your tutorials. But finally I gave up with programming,,gave up with my job and everything. Trying to figure out what Im gunna do next. All I got is rid of frustration.
    Even I’m not goin back to programming I will be watching your videos.😊😊

    • @anupriya1661
      @anupriya1661 3 года назад

      Gl withever youre gonna be doing!

  • @altlash5731
    @altlash5731 4 года назад

    Hey! You are doing a good job breaking down Java concepts in an easy-to-understand way. What you’ve done here is very similar to the Builder design pattern!

  • @yvs9793
    @yvs9793 4 года назад +2

    Hello alex, I love your Java tutorial you are really helping me❤️, but can you please make a video on array sorting techniques?

  • @2oleaves843
    @2oleaves843 4 года назад

    Thank you so much Alex for these Java tutorials. These have been very helpful for me. I look forward to more.

  • @RiteshKumar-ud7bf
    @RiteshKumar-ud7bf 4 года назад

    Please upload more videos Sir. Once in a week is very less. btw I love ur videos.

  • @828kelvin
    @828kelvin 3 года назад

    Cool, I have been trying to understand how to do this, even looking for example into compiler but no clue on it, finally I got the answer, returning the same object!!

  • @fuzedcable5612
    @fuzedcable5612 4 года назад +1

    Dude this channel is growing like hell

  • @Awsomegamerss
    @Awsomegamerss 2 года назад

    Thank you so much you saved my GPA tbh

  • @chandansharma6849
    @chandansharma6849 3 года назад

    Bro, you are genius!!!

  • @falxie_
    @falxie_ 4 года назад

    There are some really interesting things you can do with method chaining if you treat each step as immutable. Makes it so you can have a reusable base for example

  • @sureshgarine
    @sureshgarine 2 года назад

    Thank you! nice explanation.

  • @HappyTechies
    @HappyTechies 2 года назад

    Very nice explained 💐

  • @SmellyNutz
    @SmellyNutz 4 года назад +7

    I had thought java was quite hard ( from the memes ) but you make it very easy, really amazing tutorial

  • @harnoorsingh3962
    @harnoorsingh3962 4 года назад +1

    Could u possibly do a video on radix sort?

  • @user-zf8gy1yw1p
    @user-zf8gy1yw1p 4 года назад +1

    Wat has he not covered? HES DONE EVERYTHING

    • @n.rv..n
      @n.rv..n 4 года назад +2

      LibGDX, java3d, java discord API, Minecraft modding

    • @CMGogeta
      @CMGogeta 4 года назад +1

      Minecraft plugins xDD

    • @n.rv..n
      @n.rv..n 4 года назад +1

      @@CMGogeta Didnt I already say that?

    • @CMGogeta
      @CMGogeta 4 года назад

      @@n.rv..n Modding and doing plugins isn't the same bruhmomento...

  • @gryphontv4504
    @gryphontv4504 4 года назад

    i think you must share these courses on udemy or other online course platforms. your speech and explanation is really well understandable

  • @renukahiremath792
    @renukahiremath792 4 года назад

    I really learned.. No u just directed me to learn. Thanks :)

  • @lanfour4444
    @lanfour4444 4 года назад +3

    0:48 Doug Dimmadome? Owner of the Dimmsdale Dimmadome ?

  • @nithincreatives4769
    @nithincreatives4769 4 года назад +1

    I learnt some of java programming but need some help to create a java program to give an review and feedback rating for an general products please help me

  • @kumararun8337
    @kumararun8337 4 года назад

    Hi Alex , plz start advanced java concept plz 😊

  • @jaymar921
    @jaymar921 3 года назад

    When ever I watch Alex vids, I instalike xD

  • @ultralegendarybeast101
    @ultralegendarybeast101 4 года назад

    Make a video about overriding, please. I need your help!

  • @Titanic_shirohige
    @Titanic_shirohige 4 года назад

    Hey You should start a web scraping series

  • @anaghshetty
    @anaghshetty 4 года назад

    Fast approaching 100K

  • @Mr.Spaghettti
    @Mr.Spaghettti 4 года назад

    Hey Alex! Have you considered doing a video on vectors?

  • @HungNguyen-ym8cz
    @HungNguyen-ym8cz 4 года назад +3

    Where can I find the same decently "Alex-style" series about Python on RUclips?

  • @elenacascavilla1177
    @elenacascavilla1177 4 года назад

    Hi, can you please make a tutorial about generics? It would be very helpful!

  • @loveandlike6747
    @loveandlike6747 2 года назад

    Mr Lee
    how to access methods of one class to another class,?

  • @alybrm
    @alybrm 4 года назад

    Can u pls do a program for the locker problem

  • @umiuo8894
    @umiuo8894 4 года назад +1

    Have you learned to back flip?

  • @Arlihkonej
    @Arlihkonej 4 года назад

    love U bro!

  • @MdAl-Amine
    @MdAl-Amine 8 месяцев назад

    Sir your class is very awsome . I am interested to do your CyberSecurity Course but i am in bangladesh.
    May i get your course?

  • @hevartofiq5570
    @hevartofiq5570 4 года назад

    The best

  • @cryptorto1758
    @cryptorto1758 4 года назад

    Can you make a tutorial about java suppliers?

  • @kaitomaekawa5453
    @kaitomaekawa5453 4 года назад

    How do you loop a inputted name with do while? Simply, how do you make two different inputted string the same?

  • @akashg1294
    @akashg1294 4 года назад

    Hey I saw your basic playlists . It was damn a
    And I came here to say that I really need a tutorial on function overload in java. Can you please make one??

  • @falconfire8759
    @falconfire8759 4 года назад +1

    He is mrbeast no relation Voice face = he's mrbeast

  • @seventeen.m4a
    @seventeen.m4a 4 года назад +2

    I don't even take Java anymore but I still watch this man, absolute legend.

  • @sujitpradhan1004
    @sujitpradhan1004 4 года назад

    Hey bro..Can you please make a video on how to acces the private methods of one class from outside of that class??

    • @ariton2990
      @ariton2990 4 года назад

      You can`t. That`s the point of private access modifier.

    • @sujitpradhan1004
      @sujitpradhan1004 4 года назад

      @@ariton2990 yes we can ...That is through reflection API

    • @ariton2990
      @ariton2990 4 года назад

      @@sujitpradhan1004 I see. Well here is a nice tutorial that I found on how to do it:
      tutorials.jenkov.com/java-reflection/private-fields-and-methods.html

  • @shreyhanj8065
    @shreyhanj8065 4 года назад

    Hi alex😊

  • @rsamband
    @rsamband 4 года назад

    This is the first time i am taking Java programming class the professor told me for my final project i want to build the java application for special need kids with sing language this displays Alphabets A means its displays the sign language picture and displays A..I don't have any idea would you give some suggestion help me thanks

  • @agustdemons257
    @agustdemons257 4 года назад

    Need help...
    I want to make program where it asks a question and you answer. Then after answering it disappears and a new question comes up. How do I do it?
    I can do the question and answer pary but not the disappearing part. Need help ;-; need it for a project, please help thank you!

    • @agustdemons257
      @agustdemons257 4 года назад

      @Ash The Bird i figured it out already. But still, thank you for replying!

  • @cryngo276
    @cryngo276 4 года назад +1

    Hey, one question: Why is there a warning sign at my java project on the left side of the eclipse IDE? You have too at your Javatutorials and TenPrograms projects.
    Thank you for help! Can somebody please help me?

    • @Jan-bl9xg
      @Jan-bl9xg 4 года назад

      Clips.ツ hey, i‘m not sure, but I think this warning sing means that you have unused variables or objects in your project.
      For example, imagine you have this line of code:
      int i = 5;
      If you never use this variable to create some output, the warning sign appears.
      So the IDE wants to remind you that you should either do something with this variable or delete it, because it currently doesn‘t affect your output.

  • @nesnaga
    @nesnaga 4 года назад +1

    I like your videos but when there is a background music I cannot concentrate on what you are teaching. As I was going to exit your video I decided to write why do you have to use music in your videos! and guess what the music stooped! So I am here watching and listening and I love your videos the ones without the music background. Thank you

  • @jharding32
    @jharding32 4 года назад +1

    You forgot to link your "this" video even though you said you would. :)

  • @rishabkundu2065
    @rishabkundu2065 4 года назад

    hey can u pls tell how to convert a Ljava.lang.String to java.lang.String??? i used toString() but it didnt work.... pls help out a fellow subscriber

  • @yunusemre5978
    @yunusemre5978 4 года назад

    It seems like you spent a little time to figure out what's the problem in the "int grade = grade;" line :D

  • @n.rv..n
    @n.rv..n 4 года назад +1

    package tutorials;
    import Globe.*;
    import Apps.RUclips.*;
    Public Class MethodChaining {
    public static void main(String[] args){
    Person p = Globe().getPeople().get(People.ALEXLEE);
    p.getLaptop().apps().RUclips().uploadVideo(VideoType.JAVATUTORIAL, “Method Chaining”);
    }
    }

  • @martinsal9588
    @martinsal9588 4 года назад

    ☕️

  • @falconfire8759
    @falconfire8759 4 года назад +1

    ur voice sounds like mrbeast by the way verify ur youtube account u will start earning money

  • @snehitnarang8079
    @snehitnarang8079 4 года назад +1

    first

  • @kvelez
    @kvelez Год назад

    Good.
    package javaapplication13;
    public class JavaApplication13 {

    public static void main(String[] args){
    Student s = new Student();
    s.setAge(19).setName("Kevin");
    System.out.println(s.getAge() + s.getName());
    }
    }
    class Student{

    private String name;
    private int age;
    public Student() {
    }
    public Student(String name, int age) {
    this.name = name;
    this.age = age;
    }

    public Student setName(String name){
    this.name = name;
    return this;
    }

    public Student setAge(int age){
    this.age = age;
    return this;
    }

    public String getName() {
    return name;
    }
    public int getAge() {
    return age;
    }
    }

  • @creepycatcool6488
    @creepycatcool6488 4 года назад

    I am 11 and I wanted to learn Java .Thus I started off you channel helps a lot. Even thought I watched many other channels to learn this is thicc(good) also I am dev a game lol
    Thank a lot

  • @FedorSTR
    @FedorSTR 5 месяцев назад

    Honestly, I`m seeing it for the first time.

  • @stone_pilot
    @stone_pilot 4 года назад

    Hi, do you think you could do a tutorial on Java generics? Your videos are awesome. Ty

  • @StefanKo1224
    @StefanKo1224 4 года назад

    How it last to.learn java good

  • @aqibishaq885
    @aqibishaq885 4 года назад

    make a 2d game in java

  • @hbenabda1966
    @hbenabda1966 4 года назад

    Can you please make a Java tutorial on how to add sprite's (image's)?

  • @luckyone525
    @luckyone525 2 года назад

    It's amazing how you understand something simple at beginning, then a year later seeing multiple chainedmethods in online class freaks me out, i find this video and it explains to me chaining much better and in depth from the previous time i 'undertood' it, thanks man you rock!

  • @Fursty53
    @Fursty53 4 года назад

    You are doing a great job with these tutorials! I like how you give very clear examples that make sense and it's easy to understand them. I am a CS student but by coincidence I didn't like the programing at all, now I decided to give it a new chance and I started reading a Java book and after every article I watch you videos to make the things even more clear! Thank you and keep it up! :)