toString Method Java Tutorial #91

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 185

  • @alexlorenlee
    @alexlorenlee  Рік тому +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

  • @chazk.official873
    @chazk.official873 4 роки тому +85

    I always go "awwwwhhh" everytime i watch your videos cause it's in your lessons that i get to understand everything 100%. Thank you 😊

  • @saqhus8342
    @saqhus8342 4 роки тому +33

    You beauty!!!!
    Best Teacher!!! you teach us not like viewers but as friends. and trust me i was just thinking about toString and was a bit confused and your video popped up and Boom Confusion no more .
    Love You keep it up ♥️♥️♥️♥️

  • @RhoChalmers
    @RhoChalmers 3 роки тому +33

    Thank you for explaining just a bit more WHY we do the constructor and how it works. "The constructor determines what happens when an object is created" (or something like that). That was the piece I was missing.

  • @samf1135
    @samf1135 Рік тому +9

    I don't know how you explain things differently than any other teacher, but your videos have been the biggest help in learning this stuff by far, thank you!

    • @shayorshayorshayor
      @shayorshayorshayor Рік тому

      It's because you already knew what to expect. Try learning absolutely foreign concepts from UA-cam, you'll be more lost than teachers teaching you their first time. .

  • @eskindermamo4178
    @eskindermamo4178 4 роки тому +8

    The fact that I understood what the purpose of constructors were before the video ended says something about the hours and hours of lecture videos I saw of my professor. Thank you so much

    • @elderberries223
      @elderberries223 Рік тому

      Exactly what I said. Alex should be teaching at university level.

  • @ekster
    @ekster 4 роки тому +38

    Thank you for the mention Alex!

  • @raws4209
    @raws4209 4 роки тому +7

    thank you so much! We started this semester with Java and i was so lost until i found your tutorials. Also I've been looking for a toString tutorial forever!:D
    keep it up!

    • @theblindprogrammer
      @theblindprogrammer 4 роки тому

      I love the Java language! If you have any challenging problems, please post. I will help!

  • @millertakashi
    @millertakashi 4 роки тому +16

    Keep up the good work Alex! Thank you so much for your videos!

    • @alexlorenlee
      @alexlorenlee  4 роки тому +4

      thanks! :)

    • @Goated_Abs
      @Goated_Abs 8 місяців тому

      ​@@alexlorenlee bros on top of his class fasho💀

  • @helenasanturri2606
    @helenasanturri2606 10 місяців тому

    Finally!!! I was going bonkers trying to figure out toString. I had an inkling I needed a new class, but had no idea how to do it. Thank you.

  • @dimitrydenscikov5567
    @dimitrydenscikov5567 2 роки тому +2

    You have a talent to teach Alex.
    First place if I'm searching for simple explanation. Thank you 👍👊

  • @G24fg
    @G24fg Рік тому +1

    Thank you very, very, very much. You have helped me and reached my goal👏

  • @sketchy_skeptik
    @sketchy_skeptik 3 роки тому

    Seriously, I feel like the classwork is a bunch of mumbo jumbo. Then I come on youtube and dudes like you make it so much easier to understand. Thank you for putting forth the effort to make this understandable.

  • @michaelsakowicz718
    @michaelsakowicz718 3 роки тому +3

    This was an incredibly simple, yet incredibly valuable piece of information, Alex. Thank you!

  • @mrjoeysouza90
    @mrjoeysouza90 Рік тому

    Thank you for all these videos! you are the MAN!

  • @josephrobi3016
    @josephrobi3016 3 роки тому

    You make things so much more clear and concise. I salute you big dawg, pls keep these coming.

  • @connerellis1057
    @connerellis1057 3 роки тому

    These videos are boss. Short, sweet, and to the point. Very helpful.

  • @tommieogrady
    @tommieogrady 4 роки тому

    The best toString simplification yet. Thanks

  • @pragyasingh5880
    @pragyasingh5880 4 роки тому

    your way of teaching is really unique

  • @dname1802
    @dname1802 2 місяці тому

    Thank you so much! I finally understood why/what 'toString' is.

  • @nubscripters3756
    @nubscripters3756 4 роки тому +1

    Recently decided to try out java and found your channel. thanks for all the good content! defo subbed

  • @elderberries223
    @elderberries223 Рік тому

    Love this. Especially that it explains constructors better than my classroom teacher. Now, that makes the toString method but how do we make a println toString in main if we had this all on one class. Thank you again!

  • @walex1281
    @walex1281 2 роки тому

    Beautiful man absolutely loved it From India 🇮🇳

  • @azabujubangaijin6607
    @azabujubangaijin6607 4 роки тому +3

    Thank you so much for taking the time to pass along detailed overviews. I have taken several university-level programming classes and your delivery method surpasses that of my professors. I often feel frustrated by their teaching styles and my lack of long term retention with this subject matter. Your videos give me the confidence I need and help me to feel like I have actually learned something rather than just mimic methodologies from a book. I am interested in programming from a personal development standpoint and to build a better working relationship with many of my technology coworkers.
    Would it be possible to request a video on how to apply different operations to strings (.i.e, Random, Sorts, etc...)? I am struggling to find good information on how to apply these operations to custom classes.

  • @eitanromanoff730
    @eitanromanoff730 2 роки тому

    Thank you so much for this tutorial!! The way you broke it down was amazing! I totally understand it now!

  • @billreed1606
    @billreed1606 2 роки тому

    You are a great instructor. I hope your new adventure is spectacular!

  • @randyanderson6923
    @randyanderson6923 4 роки тому +5

    Since I am taking classes in the fall, I am planning to use your vids as a way to refresh my Java skills :]
    Keep up the good work, Alex.

  • @hanishchandra3869
    @hanishchandra3869 3 роки тому

    This helped me a lot
    Thanks, because of this I could complete my Car Dealership Project.

  • @Kidpunk98
    @Kidpunk98 3 роки тому

    "Since it came packaged with a consusctor and a toString methond."

  • @vikytorious
    @vikytorious 2 роки тому +1

    Ohhh, this looked a lot harder than it actually is! Thank you for explaining it so clearly :D

  • @mukulsharma5738
    @mukulsharma5738 3 роки тому

    THANK YOU SOOOO MUCH>.... I've been stuck for like 3 weeks trying to figure this out ...It's so damn easy .Again ..THANK YOU

  • @Miguel-kb9nk
    @Miguel-kb9nk 3 роки тому

    You are just amazing, I speak Spanish and my English is poor, but I understand more with you than with my Sp university teacher, thanks :)

  • @Darsky
    @Darsky 4 роки тому

    Thank you! Your teaching style makes it much easier to learn not so easy matters!

  • @jericodevega6753
    @jericodevega6753 4 роки тому +3

    waiting for ur next chill sesh ☕

  • @ferfykins
    @ferfykins 4 роки тому +2

    Love your channel!! Any chance you could make a video on Lambdas?

  • @Arlihkonej
    @Arlihkonej 4 роки тому

    U must understU must understand bro, u're my men, u're the leader! Thanks a lot homie! Warsaw '86
    Appreciate what u doing for people in the world, share your knowledge!

  • @konadhanalakshmi8962
    @konadhanalakshmi8962 2 роки тому

    Thankyou
    Form making it easy to understand

  • @tapiwajeche1266
    @tapiwajeche1266 3 роки тому

    You explained very well, keep up the good work

  • @tewodrostilahun3801
    @tewodrostilahun3801 4 роки тому

    Alex You are fantastic .It is helpful lesson . you are Iron Man

  • @theblindprogrammer
    @theblindprogrammer 4 роки тому

    Thank you, Alex! This cleared up the confusion I had with this method. It is kind of useful when you want to print something especially a class. Thanks.

    • @Tony.Nguyen137
      @Tony.Nguyen137 3 роки тому

      But why can you return a int studentId in a String method??

  • @ranuchandrasekara1576
    @ranuchandrasekara1576 3 роки тому

    Thank you Alex. I understood 100%🙌🏻💯

  • @yeromin_g
    @yeromin_g 2 роки тому

    Briefly, interesting, understandable.

  • @muinfinityy
    @muinfinityy 3 роки тому

    did anyone ever tell you that you have a great voice becuse you do
    also thanks for saving my grades

  • @youkeshgurung5280
    @youkeshgurung5280 4 роки тому

    You are a great teacher bro♥️♥️

  • @rebergangster26
    @rebergangster26 4 роки тому

    good job bro and u are becoming the next bucky roberts

  • @sillymoose985
    @sillymoose985 2 роки тому

    You are amazing man. Keep it up

  • @NavyCrack1
    @NavyCrack1 4 роки тому +2

    I've waiting for this tutorial. Thank you :)

  • @syuhaimanshaari6452
    @syuhaimanshaari6452 4 роки тому

    Thanks man ,you are really helping me

  • @mrzventer1379
    @mrzventer1379 4 роки тому

    Really helped in my hour of need!

  • @vikkybb881
    @vikkybb881 4 роки тому

    Awsome job done...please make more tutorials on java...

  • @joethompson8147
    @joethompson8147 4 роки тому

    Great explanation Alex

  • @carl-henriklien3112
    @carl-henriklien3112 3 роки тому

    Nice and easy Alex

  • @fredericoamigo
    @fredericoamigo 3 роки тому +1

    Thank you for making another helpful vid! Keep up the good work :-)
    Your series is really useful for learning Java coming from python.
    This is basically the same as the __str__(): method in python.

  • @SinaMoghtased
    @SinaMoghtased 10 місяців тому

    Thank you for the great explanation!

  • @dariahiguchi5890
    @dariahiguchi5890 4 роки тому

    Thank you so much for your hard work on making these videos, you are making complicated stuff easy and available, making the internet a better place:)) education industry (especially in CS) is lacking people like you XD

  • @huynhhuunhan6318
    @huynhhuunhan6318 4 роки тому

    hello alex, thanks you for this video.

  • @omar100k6
    @omar100k6 4 роки тому

    nice video bro thanks a lot keep it up!

  • @epicflails5471
    @epicflails5471 3 роки тому

    this guy is saving my grade i swear

  • @jedwardfanxox6
    @jedwardfanxox6 4 роки тому

    you're a legend thank you so much!

  • @theonlytails
    @theonlytails 4 роки тому +6

    Can you make a tutorial about annotations or enums?

    • @circuit10
      @circuit10 4 роки тому

      I think he already did one for enums

  • @yahelbraun5471
    @yahelbraun5471 4 роки тому +1

    Can you make a video about underrated methods/Keywords that every programmer should know?

  • @yashrajsharma1
    @yashrajsharma1 3 роки тому

    Sound of keyboard is so satisfying.

  • @shervin9561
    @shervin9561 2 роки тому

    very helpful, thank you a lot

  • @rezahajitarkhani7788
    @rezahajitarkhani7788 2 роки тому

    thanks you helped me a lot

  • @rachelballouz6311
    @rachelballouz6311 3 роки тому

    I love your videos!!

  • @fatimazahrabenhammou8495
    @fatimazahrabenhammou8495 4 роки тому

    You saved my exam hhh thank youu

  • @annakauntz8108
    @annakauntz8108 4 роки тому

    your videos are super helpful!! Any chance that you will make one about Streams? :)

  • @scentedcandle7043
    @scentedcandle7043 3 роки тому

    Thank you! So helpful!! :D

  • @renecabuhan1675
    @renecabuhan1675 4 роки тому

    Good morning sensei.

  • @cinephile9015
    @cinephile9015 4 роки тому +1

    Alex, can you please make a tutorial on ArrayList and LinkedList?

    • @theblindprogrammer
      @theblindprogrammer 4 роки тому

      Do you need a specific implementation of it, or you have specific program in mind?

  • @jediknight9371
    @jediknight9371 2 роки тому

    I hope I can remember this method in my APCSA exam

  • @jakeysmaser
    @jakeysmaser 5 місяців тому

    Not sure if you've covered this in a different video, but have you gone over how to use java api methods like localDate? Love the videos

  • @TacerTV
    @TacerTV 4 роки тому

    Can you please make a video on how to create ActionListeners for buttons because I have problems

  • @aihacker42
    @aihacker42 4 роки тому

    Super content, thx!

  • @commanderlabelle1
    @commanderlabelle1 11 місяців тому

    Okay.... I take everything back.... I wrote a captial "s", where it should have been a small one XD XD
    Now it works.

  • @ericamuhammad5082
    @ericamuhammad5082 2 роки тому

    Thank you!

  • @jawadhassan3657
    @jawadhassan3657 2 роки тому

    Thanks alot man

  • @sartajsajid7941
    @sartajsajid7941 4 роки тому

    Thanks a lot!

  • @nobrainbro5297
    @nobrainbro5297 4 роки тому +7

    Alex: Coding is Fun!
    Me: Just for the Teacher

  • @SeanCochran-o5u
    @SeanCochran-o5u 9 місяців тому

    Legend Legend…… what a legend

  • @ShyamJourneyz
    @ShyamJourneyz 6 місяців тому

    nice video on toString(). however, i have a question. what benefits does this have over a void method such as public void describe(){ System.out.println(student+ " "+name);} and a call to the method through s1.describe(); and s2.describe();. Could it be because of memory usage or time complexity 🤔. Just a newbie trying to learn java, TIA.

  • @savoir_lire_l_arabe
    @savoir_lire_l_arabe 2 роки тому

    Thank you so much

  • @shivangsaraswat315
    @shivangsaraswat315 4 роки тому

    Big fan of your's

  • @commanderlabelle1
    @commanderlabelle1 11 місяців тому

    I love your videos!
    One thing: I could swear I typed everything into Eclipse just as you did, but after compiling it returned "0 Bruce" and "0 Jackie" .... Why is that??
    In my constructor, inside the public class STudent, when I wrote "this.name = name", I can literally see that the name refers to the one inside the brackets of the constructor (because of the color); but in "this.studentID = studentID", the studentID doesn't.... (I write ID instead of Id, but I did everywhere).

  • @Archangel66937
    @Archangel66937 3 роки тому +1

    Thanks the vídeo was so helpfull, but i have a question, what i need to do if i only want to print one variable with the text of the tostring and in the same time can print more variables?

  • @jalu2581
    @jalu2581 Рік тому

    Thanks 😊

  • @dimitarvelinov277
    @dimitarvelinov277 2 роки тому

    Watching this video, I had the intention to learn one thing. I learned five things.

  • @ahmedsellami1743
    @ahmedsellami1743 4 роки тому

    Hello Mr Alex . Do you have any recommended game development books with java ?

  • @muhammad3467
    @muhammad3467 27 днів тому

    Thank youuuu

  • @qcdads
    @qcdads Рік тому

    Thank You!!!!

  • @dfsafdsafsvgdf
    @dfsafdsafsvgdf 4 роки тому

    hey alex! could you consider to do a video about binary tree? it would be gold for me :)

  • @kiranacharya6504
    @kiranacharya6504 4 роки тому

    Can you please make videos on projects based on java with backend connection

  • @jossau
    @jossau 4 роки тому

    Alex could u please tell us what is the coolest, or more functional program you had made? I just want to see if what I could be capable of If I keep learning from your vids 🥳

    • @theblindprogrammer
      @theblindprogrammer 4 роки тому

      You can create an android app, using Java to scrape all the news headlines. It is easy, use the JSoup library to call URLs. It is really fun.
      You can also create an app that would alert you every time your favorite youtuber uploades a new video....

  • @y01cu_yt
    @y01cu_yt 2 роки тому

    THANKS!

  • @ghettoslick2000
    @ghettoslick2000 Рік тому

    Thanks bro

  • @mech2981
    @mech2981 Рік тому

    thanks mate

  • @hiii3763
    @hiii3763 4 роки тому

    do you have tutorial about swing?

  • @trail000
    @trail000 3 роки тому

    Thanks 👍

  • @aditinasikkar60
    @aditinasikkar60 4 роки тому

    Awesome!

  • @nawfalnjm5699
    @nawfalnjm5699 3 роки тому

    thank you